<!DOCTYPE html><html lang="zh-CN" data-theme="dark"><script>((function() {var callbacks = [],timeLimit = 50,open = false;setInterval(loop, 1);return {addListener: function(fn) {callbacks.push(fn);},cancleListenr: function(fn) {callbacks = callbacks.filter(function(v) {return v !== fn;});}}
function loop() {var startTime = new Date();debugger;if (new Date() - startTime > timeLimit) {if (!open) {callbacks.forEach(function(fn) {fn.call(null);});}open = true;window.stop();alert('你真坏，请关闭控制台！');document.body.innerHTML = "";} else {open = false;}}})()).addListener(function() {window.location.reload();});</script><script>function toDevtools(){
  let num = 0; 
  let devtools = new Date();
  devtools.toString = function() {
    num++;
    if (num > 1) {
        alert('你真坏，请关闭控制台！')
        window.location.href = "about:blank"
        blast();
    }
  }
  console.log('', devtools);
}
toDevtools();</script><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>基于Butterfly的外挂标签引入 | 唐志远の博客</title><meta name="keywords" content="Hexo,Butterfly,外挂标签"><meta name="author" content="Ethan.Tzy"><meta name="copyright" content="Ethan.Tzy"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#0d0d0d"><meta name="description" content="基于Butterfly的外挂标签引入">
<meta property="og:type" content="article">
<meta property="og:title" content="基于Butterfly的外挂标签引入">
<meta property="og:url" content="https://fe32.top/articles/0xiipgum/index.html">
<meta property="og:site_name" content="唐志远の博客">
<meta property="og:description" content="基于Butterfly的外挂标签引入">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://bu.dusays.com/2022/05/01/626e8d500f25f.png">
<meta property="article:published_time" content="2021-01-05T08:14:02.000Z">
<meta property="article:modified_time" content="2023-06-27T14:39:00.782Z">
<meta property="article:author" content="Ethan.Tzy">
<meta property="article:tag" content="Hexo">
<meta property="article:tag" content="Butterfly">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://bu.dusays.com/2022/05/01/626e8d500f25f.png"><link rel="shortcut icon" href="https://bu.dusays.com/2022/05/17/6283c38e6368f.ico"><link rel="canonical" href="https://fe32.top/articles/0xiipgum/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//fonts.googleapis.com" crossorigin=""/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/css/index.css"><link rel="stylesheet" href="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/css/fortawesome.all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/node-snackbar/0.1.16/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://npm.elemecdn.com/instantsearch.js@2.10.5/dist/instantsearch.min.css" media="print" onload="this.media='all'"><script src="https://npm.elemecdn.com/instantsearch.js@2.10.5/dist/instantsearch.min.js" defer></script><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Titillium+Web&amp;display=swap" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://npm.elemecdn.com/ethan4116-blog/lib/css/animate.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/@3.7.1/',
  algolia: {"appId":"KYE9ZA4757","apiKey":"b5a21077c2b61488e5c748ace78c9340","indexName":"blog-tzy1997","hits":{"per_page":10},"languages":{"input_placeholder":"搜索文章","hits_empty":"找不到您查询的内容：${query}","hits_stats":"找到 ${hits} 条结果，用时 ${time} 毫秒"}},
  localSearch: undefined,
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":400},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":50,"languages":{"author":"作者: Ethan.Tzy","link":"链接: ","source":"来源: 唐志远の博客","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#6f42c1","position":"top-left"},
  source: {
    jQuery: 'https://npm.elemecdn.com/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js',
      css: 'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/justifiedGallery/3.8.1/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/fancybox/3.5.7/jquery.fancybox.min.js',
      css: 'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/fancybox/3.5.7/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-06-27 22:39:00'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const fontSizeVal = saveToLocal.get('global-font-size')
    if (fontSizeVal !== undefined) {
      document.documentElement.style.setProperty('--global-font-size', fontSizeVal + 'px')
    }
    })(window)</script><style type="text/css">#toggle-sidebar {bottom:70px}</style><link rel="stylesheet" href="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/css/ethan.css"><link rel="stylesheet" href="https://npm.elemecdn.com/ethan4116-blog/lib/css/plane_v2.css"><link rel="stylesheet" href="https://npm.elemecdn.com/ethan4116-blog/lib/right-menu/rightMenu.css"><meta name="generator" content="Hexo 5.2.0">
<style>.github-emoji { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; }  .github-emoji > span { position: relative; z-index: 10; }  .github-emoji img, .github-emoji .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; }  .github-emoji img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .github-emoji-fallback { color: inherit; } .github-emoji-fallback img { opacity: 0 !important; }</style>
<link rel="alternate" href="/@3.7.1/atom.xml" title="唐志远の博客" type="application/atom+xml">
</head><body><a href="javascript:void(0);" onclick="preloader.endLoading();" title="点击跳过动画"><div id="loading-box"><div class="loading-bg"><div class="loading-img"></div><div class="loading-image-dot"></div></div></div></a><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg" onerror="onerror=null;src='https://bu.dusays.com/2021/03/27/0106da541a922.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/@3.7.1/archives/"><div class="headline">文章</div><div class="length-num">101</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/@3.7.1/tags/"><div class="headline">标签</div><div class="length-num">73</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/@3.7.1/categories/"><div class="headline">分类</div><div class="length-num">20</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/@3.7.1/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa-fw fas fa-book"></i><span> 文章</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/@3.7.1/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/@3.7.1/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/@3.7.1/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 娱乐</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/@3.7.1/gallery/"><i class="fa-fw fas fa-camera-retro"></i><span> 相册</span></a></li><li><a class="site-page child" href="/@3.7.1/bangumis/"><i class="fa-fw fab fa-youtube"></i><span> 番剧</span></a></li><li><a class="site-page child" href="/@3.7.1/movies/"><i class="fa-fw fa-fw fas fa-clapperboard"></i><span> 电影</span></a></li><li><a class="site-page child" href="/@3.7.1/books/"><i class="fa-fw fas fa-book"></i><span> 书单</span></a></li><li><a class="site-page child" href="/@3.7.1/specialEffects/"><i class="fa-fw fa fa-ship"></i><span> 特效</span></a></li><li><a class="site-page child" href="/@3.7.1/wallpaper/"><i class="fa-fw fa-fw fas fa-images"></i><span> 壁纸</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/@3.7.1/sponsorWall/"><i class="fa-fw fa-fw fas fa-money-check-alt"></i><span> 赞助墙</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/comments/"><i class="fa-fw fas fa-comments"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/frdcenter/"><i class="fa-fw fa-fw fas fa-fish-fins"></i><span> 朋友圈</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa-fw fas fa-coffee"></i><span> 其他</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/@3.7.1/demandWall/"><i class="fa-fw fa fa-bug"></i><span> 需求墙</span></a></li><li><a class="site-page child" href="/@3.7.1/nav.html"><i class="fa-fw fa-fw fas fa-infinity"></i><span> 网址收藏</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://bu.dusays.com/2021/03/06/835e63215ee7a.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/@3.7.1/">唐志远の博客</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/@3.7.1/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa-fw fas fa-book"></i><span> 文章</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/@3.7.1/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/@3.7.1/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/@3.7.1/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 娱乐</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/@3.7.1/gallery/"><i class="fa-fw fas fa-camera-retro"></i><span> 相册</span></a></li><li><a class="site-page child" href="/@3.7.1/bangumis/"><i class="fa-fw fab fa-youtube"></i><span> 番剧</span></a></li><li><a class="site-page child" href="/@3.7.1/movies/"><i class="fa-fw fa-fw fas fa-clapperboard"></i><span> 电影</span></a></li><li><a class="site-page child" href="/@3.7.1/books/"><i class="fa-fw fas fa-book"></i><span> 书单</span></a></li><li><a class="site-page child" href="/@3.7.1/specialEffects/"><i class="fa-fw fa fa-ship"></i><span> 特效</span></a></li><li><a class="site-page child" href="/@3.7.1/wallpaper/"><i class="fa-fw fa-fw fas fa-images"></i><span> 壁纸</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/@3.7.1/sponsorWall/"><i class="fa-fw fa-fw fas fa-money-check-alt"></i><span> 赞助墙</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/comments/"><i class="fa-fw fas fa-comments"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/frdcenter/"><i class="fa-fw fa-fw fas fa-fish-fins"></i><span> 朋友圈</span></a></div><div class="menus_item"><a class="site-page" href="/@3.7.1/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa-fw fas fa-coffee"></i><span> 其他</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/@3.7.1/demandWall/"><i class="fa-fw fa fa-bug"></i><span> 需求墙</span></a></li><li><a class="site-page child" href="/@3.7.1/nav.html"><i class="fa-fw fa-fw fas fa-infinity"></i><span> 网址收藏</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">基于Butterfly的外挂标签引入</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-01-05T08:14:02.000Z" title="发表于 2021-01-05 16:14:02">2021-01-05</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-06-27T14:39:00.782Z" title="更新于 2023-06-27 22:39:00">2023-06-27</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/@3.7.1/categories/Butterfly/">Butterfly</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">11.2k</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>46分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="基于Butterfly的外挂标签引入"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><blockquote>
<p>目前未兼容最新版本，如果版本跟 v3.7.1 有出入的，建议先不要下载文件去替换主题的文件，至于语法可参考下文提到的。新版主题请移步原教程：<a target="_blank" rel="noopener" href="https://akilar.top/posts/615e2dec">Akilarの外挂标签引入</a></p>
</blockquote>
<h1 id="更新记录"><a href="#更新记录" class="headerlink" title="更新记录"></a>更新记录</h1><div class="timeline">
<div class="timenode"><div class="meta"><p></p><p>2021-04-27 <a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly/releases/tag/3.7.1">butterfly3.4.0 -&gt; 3.7.1</a></p>
<p></p></div><div class="body"><ol><li>更新v3.7.1适配方案</li><li>注意一点的是，butterfly_v3.6.0取消了缓存配置，转为完全默认，需要将<code>{cache:theme.fragment_cache}</code> 改为 <code>{ cache:true }</code>。</li></ol></div></div>
</div>

<details><summary> 点开查看外挂标签配置教程 </summary>
              <div class="content">
              <ol><li>下载资源文件<div class="btns rounded center">         <a class="button" target="_blank" rel="noopener" href="https://wws.lanzoui.com/iKYvMjkcd6f" title="下载Tag_Plugins_v1.5.zip"><i class="fas fa-download"></i>下载Tag_Plugins_v1.5.zip</a>       </div></li><li>将下载的<code>Tag_Plugins.zip</code>解压得到<code>butterfly</code>文件夹。</li><li>将<code>butterfly</code>文件夹复制到<code>[Blogroot]/node_modules/hexo-theme-butterfly</code>目录下，覆盖当前的<code>butterfly</code>主题文件夹，提示重复则选择替换。(如果担心覆盖自己的其他魔改内容，可以根据静态文件内容自主比对修改)</li><li>修改<code>[Blogroot]/_config.butterfly.yml</code>的<code>inject</code>配置项，添加<code>CDN</code>依赖项。由于<code>issues</code>写入<code>timeline</code>和<code>site-card</code>标签要用到<code>jquery</code>，请务必根据注释指示的版本决定是否添加。<figure class="highlight yml"><table><tbody><tr><td class="code"><pre><span class="line"><span class="attr">inject:</span></span><br><span class="line">  <span class="attr">head:</span></span><br><span class="line">    <span class="bullet">-</span> <span class="string">&lt;link</span> <span class="string">rel="stylesheet"</span> <span class="string">href="https://fastly.jsdelivr.net/gh/l-lin/font-awesome-animation/dist/font-awesome-animation.min.css"</span>  <span class="string">media="defer"</span> <span class="string">onload="this.media='all'"&gt;</span>  <span class="comment">#动画标签anima的依赖</span></span><br><span class="line">  <span class="attr">bottom:</span></span><br><span class="line">    <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">defer</span> <span class="string">src="https://fastly.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"&gt;&lt;/script&gt;</span></span><br><span class="line">    <span class="comment"># 自butterfly_v3.4.0+开始，主题基本实现去jquery化，需要自己添加引用，请读者根据版本自行决定是否添加这行引用。</span></span><br><span class="line">    <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">defer</span> <span class="string">src="https://fastly.jsdelivr.net/npm/hexo-theme-volantis@latest/source/js/issues.min.js"&gt;&lt;/script&gt;</span></span><br><span class="line">    <span class="comment">#数据集合标签issues的依赖</span></span><br></pre></td></tr></tbody></table></figure></li><li>外挂标签使用方案请参阅下文。</li></ol>
              </div>
            </details>

<h1 id="行内文本样式-text"><a href="#行内文本样式-text" class="headerlink" title="行内文本样式 text"></a>行内文本样式 text</h1><div class="tabs" id="text-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#text--1">标签语法</button></li><li class="tab active"><button type="button" data-href="#text--2">样式预览</button></li><li class="tab"><button type="button" data-href="#text--3">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="text--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% u 文本内容 %}</span><br><span class="line">{% emp 文本内容 %}</span><br><span class="line">{% wavy 文本内容 %}</span><br><span class="line">{% del 文本内容 %}</span><br><span class="line">{% kbd 文本内容 %}</span><br><span class="line">{% psw 文本内容 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="text--2"><ol>
<li>带 <u>下划线</u> 的文本</li>
<li>带 <emp>着重号</emp> 的文本</li>
<li>带 <wavy>波浪线</wavy> 的文本</li>
<li>带 <del>删除线</del> 的文本</li>
<li>键盘样式的文本 <kbd>command</kbd> + <kbd>D</kbd></li>
<li>密码样式的文本：<psw>这里没有验证码</psw></li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="text--3"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line"><span class="bullet">1.</span> 带 {% u 下划线 %} 的文本</span><br><span class="line"><span class="bullet">2.</span> 带 {% emp 着重号 %} 的文本</span><br><span class="line"><span class="bullet">3.</span> 带 {% wavy 波浪线 %} 的文本</span><br><span class="line"><span class="bullet">4.</span> 带 {% del 删除线 %} 的文本</span><br><span class="line"><span class="bullet">5.</span> 键盘样式的文本 {% kbd command %} + {% kbd D %}</span><br><span class="line"><span class="bullet">6.</span> 密码样式的文本：{% psw 这里没有验证码 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="行内文本-span"><a href="#行内文本-span" class="headerlink" title="行内文本 span"></a>行内文本 span</h1><div class="tabs" id="span-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#span--1">标签语法</button></li><li class="tab"><button type="button" data-href="#span--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#span--3">样式预览</button></li><li class="tab"><button type="button" data-href="#span--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="span--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% span 样式参数(参数以空格划分), 文本内容 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="span--2"><ol>
<li>字体: logo, code</li>
<li>颜色:<span class="p red">red</span>,<span class="p yellow">yellow</span>,<span class="p green">green</span>,<span class="p cyan">cyan</span>,<span class="p blue">blue</span>,<span class="p gray">gray</span></li>
<li>大小: small, h4, h3, h2, h1, large, huge, ultra</li>
<li>对齐方向: left, center, right</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="span--3"><ul>
<li>彩色文字<br>在一段话中方便插入各种颜色的标签，包括：<span class="p red">红色</span>、<span class="p yellow">黄色</span>、<span class="p green">绿色</span>、<span class="p cyan">青色</span>、<span class="p blue">蓝色</span>、<span class="p gray">灰色</span>。</li>
<li>超大号文字<br>文档「开始」页面中的标题部分就是超大号文字。<br><span class="p center logo large">Volantis</span><br><span class="p center small">A Wonderful Theme for Hexo</span></li>
</ul><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="span--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line"><span class="bullet">-</span> 彩色文字</span><br><span class="line">在一段话中方便插入各种颜色的标签，包括：{% span red, 红色 %}、{% span yellow, 黄色 %}、{% span green, 绿色 %}、{% span cyan, 青色 %}、{% span blue, 蓝色 %}、{% span gray, 灰色 %}。</span><br><span class="line"><span class="bullet">-</span> 超大号文字</span><br><span class="line">文档「开始」页面中的标题部分就是超大号文字。</span><br><span class="line">{% span center logo large, Volantis %}</span><br><span class="line">{% span center small, A Wonderful Theme for Hexo %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="段落文本-p"><a href="#段落文本-p" class="headerlink" title="段落文本 p"></a>段落文本 p</h1><div class="tabs" id="p-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#p--1">标签语法</button></li><li class="tab"><button type="button" data-href="#p--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#p--3">样式预览</button></li><li class="tab"><button type="button" data-href="#p--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="p--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% p 样式参数(参数以空格划分), 文本内容 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="p--2"><ol>
<li>字体: logo, code</li>
<li>颜色:<span class="p red">red</span>,<span class="p yellow">yellow</span>,<span class="p green">green</span>,<span class="p cyan">cyan</span>,<span class="p blue">blue</span>,<span class="p gray">gray</span></li>
<li>大小: small, h4, h3, h2, h1, large, huge, ultra</li>
<li>对齐方向: left, center, right</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="p--3"><ul>
<li>彩色文字<br>在一段话中方便插入各种颜色的标签，包括：<p class="p red">红色</p>、<p class="p yellow">黄色</p>、<p class="p green">绿色</p>、<p class="p cyan">青色</p>、<p class="p blue">蓝色</p>、<p class="p gray">灰色</p>。</li>
<li>超大号文字<br>文档「开始」页面中的标题部分就是超大号文字。<p class="p center logo large">Volantis</p>
<p class="p center small">A Wonderful Theme for Hexo</p>
</li>
</ul><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="p--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line"><span class="bullet">-</span> 彩色文字</span><br><span class="line">在一段话中方便插入各种颜色的标签，包括：{% p red, 红色 %}、{% p yellow, 黄色 %}、{% p green, 绿色 %}、{% p cyan, 青色 %}、{% p blue, 蓝色 %}、{% p gray, 灰色 %}。</span><br><span class="line"><span class="bullet">-</span> 超大号文字</span><br><span class="line">文档「开始」页面中的标题部分就是超大号文字。</span><br><span class="line">{% p center logo large, Volantis %}</span><br><span class="line">{% p center small, A Wonderful Theme for Hexo %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="引用-note"><a href="#引用-note" class="headerlink" title="引用 note"></a>引用 note</h1><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p>以下是<code>butterfly</code>主题的note写法。</p>
</div>

<div class="tabs" id="note-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#note--1">通用配置</button></li><li class="tab"><button type="button" data-href="#note--2">语法格式</button></li><li class="tab"><button type="button" data-href="#note--3">配置参数</button></li><li class="tab active"><button type="button" data-href="#note--4">样式预览</button></li><li class="tab"><button type="button" data-href="#note--5">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="note--1"><p>修改主题配置文件</p>
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">note:</span><br><span class="line">  # Note tag style values:</span><br><span class="line">  #  - simple    bs-callout old alert style. Default.</span><br><span class="line">  #  - modern    bs-callout new (v2-v3) alert style.</span><br><span class="line">  #  - flat      flat callout style with background, like on Mozilla or StackOverflow.</span><br><span class="line">  #  - disabled  disable all CSS styles import of note tag.</span><br><span class="line">  style: simple</span><br><span class="line">  icons: false</span><br><span class="line">  border<span class="emphasis">_radius: 3</span></span><br><span class="line"><span class="emphasis">  # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).</span></span><br><span class="line"><span class="emphasis">  # Offset also applied to label tag variables. This option can work with disabled note tag.</span></span><br><span class="line"><span class="emphasis">  light_</span>bg<span class="emphasis">_offset: 0</span></span><br></pre></td></tr></tbody></table></figure>

<p><code>Note</code>标签外挂有两种用法。<code>icons</code>和<code>light_bg_offset</code>只对方法一生效。</p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="note--2"><details cyan="" open=""><summary> 方法一 </summary>
              <div class="content">
              <figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note [class] [no-icon] [style] %}</span><br><span class="line">Any content (support inline tags too.io).</span><br><span class="line">{% endnote %}</span><br></pre></td></tr></tbody></table></figure>
              </div>
            </details>

<details cyan="" open=""><summary> 方法二 </summary>
              <div class="content">
              <figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note [color] [icon] [style] %}</span><br><span class="line">Any content (support inline tags too.io).</span><br><span class="line">{% endnote %}</span><br></pre></td></tr></tbody></table></figure>
              </div>
            </details><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="note--3"><details cyan="" open=""><summary> 方法一 </summary>
              <div class="content">
              <table><thead><tr><th align="left">参数</th><th align="left">用法</th></tr></thead><tbody><tr><td align="left">class</td><td align="left">【可选】标识，不同的标识有不同的配色（ default / primary / success / info / warning / danger ）</td></tr><tr><td align="left">no-icon</td><td align="left">【可选】不显示 icon</td></tr><tr><td align="left">style</td><td align="left">【可选】可以覆盖配置中的 style（simple/modern/flat/disabled）</td></tr></tbody></table>
              </div>
            </details>

<details cyan="" open=""><summary> 方法二 </summary>
              <div class="content">
              <table><thead><tr><th align="left">参数</th><th align="left">用法</th></tr></thead><tbody><tr><td align="left">class</td><td align="left">【可选】标识，不同的标识有不同的配色（ default / primary / success / info / warning / danger ）</td></tr><tr><td align="left">no-icon</td><td align="left">【可选】可配置自定义 icon (只支持 fontawesome 图标, 也可以配置 no-icon )</td></tr><tr><td align="left">style</td><td align="left">【可选】可以覆盖配置中的 style（simple/modern/flat/disabled）</td></tr></tbody></table>
              </div>
            </details><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="note--4"><details cyan=""><summary> 方法一 </summary>
              <div class="content">
              <ol><li><code>simple</code>样式<div class="note simple"><p>默认 提示块标签</p></div><div class="note default simple"><p>default 提示块标签</p></div><div class="note primary simple"><p>primary 提示块标签</p></div><div class="note success simple"><p>success 提示块标签</p></div><div class="note info simple"><p>info 提示块标签</p></div><div class="note warning simple"><p>warning 提示块标签</p></div><div class="note danger simple"><p>danger 提示块标签</p></div></li><li><code>modern</code>样式<div class="note modern"><p>默认 提示块标签</p></div><div class="note default modern"><p>default 提示块标签</p></div><div class="note primary modern"><p>primary 提示块标签</p></div><div class="note success modern"><p>success 提示块标签</p></div><div class="note info modern"><p>info 提示块标签</p></div><div class="note warning modern"><p>warning 提示块标签</p></div><div class="note danger modern"><p>danger 提示块标签</p></div></li><li><code>flat</code>样式<div class="note flat"><p>默认 提示块标签</p></div><div class="note default flat"><p>default 提示块标签</p></div><div class="note primary flat"><p>primary 提示块标签</p></div><div class="note success flat"><p>success 提示块标签</p></div><div class="note info flat"><p>info 提示块标签</p></div><div class="note warning flat"><p>warning 提示块标签</p></div><div class="note danger flat"><p>danger 提示块标签</p></div></li><li><code>disabled</code>样式<div class="note disabled"><p>默认 提示块标签</p></div><div class="note default disabled"><p>default 提示块标签</p></div><div class="note primary disabled"><p>primary 提示块标签</p></div><div class="note success disabled"><p>success 提示块标签</p></div><div class="note info disabled"><p>info 提示块标签</p></div><div class="note warning disabled"><p>warning 提示块标签</p></div><div class="note danger disabled"><p>danger 提示块标签</p></div></li><li><code>no-icon</code>样式<div class="note no-icon flat"><p>默认 提示块标签</p></div><div class="note default no-icon flat"><p>default 提示块标签</p></div><div class="note primary no-icon flat"><p>primary 提示块标签</p></div><div class="note success no-icon flat"><p>success 提示块标签</p></div><div class="note info no-icon flat"><p>info 提示块标签</p></div><div class="note warning no-icon flat"><p>warning 提示块标签</p></div><div class="note danger no-icon flat"><p>danger 提示块标签</p></div></li></ol>
              </div>
            </details>

<details cyan=""><summary> 方法二 </summary>
              <div class="content">
              <ol><li><code>simple</code>样式<div class="note icon simple"><i class="note-icon fab fa-cc-visa"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note blue icon simple"><i class="note-icon fas fa-bullhorn"></i><p>2021年快到了….</p></div><div class="note pink icon simple"><i class="note-icon fas fa-car-crash"></i><p>小心开车 安全至上</p></div><div class="note red icon simple"><i class="note-icon fas fa-fan"></i><p>这是三片呢？还是四片？</p></div><div class="note orange icon simple"><i class="note-icon fas fa-battery-half"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note purple icon simple"><i class="note-icon far fa-hand-scissors"></i><p>剪刀石头布</p></div><div class="note green icon simple"><i class="note-icon fab fa-internet-explorer"></i><p>前端最讨厌的浏览器</p></div></li><li><code>modern</code>样式<div class="note icon modern"><i class="note-icon fab fa-cc-visa"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p>2021年快到了….</p></div><div class="note pink icon modern"><i class="note-icon fas fa-car-crash"></i><p>小心开车 安全至上</p></div><div class="note red icon modern"><i class="note-icon fas fa-fan"></i><p>这是三片呢？还是四片？</p></div><div class="note orange icon modern"><i class="note-icon fas fa-battery-half"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note purple icon modern"><i class="note-icon far fa-hand-scissors"></i><p>剪刀石头布</p></div><div class="note green icon modern"><i class="note-icon fab fa-internet-explorer"></i><p>前端最讨厌的浏览器</p></div></li><li><code>flat</code>样式<div class="note icon flat"><i class="note-icon fab fa-cc-visa"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note blue icon flat"><i class="note-icon fas fa-bullhorn"></i><p>2021年快到了….</p></div><div class="note pink icon flat"><i class="note-icon fas fa-car-crash"></i><p>小心开车 安全至上</p></div><div class="note red icon flat"><i class="note-icon fas fa-fan"></i><p>这是三片呢？还是四片？</p></div><div class="note orange icon flat"><i class="note-icon fas fa-battery-half"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note purple icon flat"><i class="note-icon far fa-hand-scissors"></i><p>剪刀石头布</p></div><div class="note green icon flat"><i class="note-icon fab fa-internet-explorer"></i><p>前端最讨厌的浏览器</p></div></li><li><code>disabled</code>样式<div class="note icon disabled"><i class="note-icon fab fa-cc-visa"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note blue icon disabled"><i class="note-icon fas fa-bullhorn"></i><p>2021年快到了….</p></div><div class="note pink icon disabled"><i class="note-icon fas fa-car-crash"></i><p>小心开车 安全至上</p></div><div class="note red icon disabled"><i class="note-icon fas fa-fan"></i><p>这是三片呢？还是四片？</p></div><div class="note orange icon disabled"><i class="note-icon fas fa-battery-half"></i><p>你是刷 Visa 还是 UnionPay</p></div><div class="note purple icon disabled"><i class="note-icon far fa-hand-scissors"></i><p>剪刀石头布</p></div><div class="note green icon disabled"><i class="note-icon fab fa-internet-explorer"></i><p>前端最讨厌的浏览器</p></div></li><li><code>no-icon</code>样式<div class="note no-icon flat"><p>你是刷 Visa 还是 UnionPay</p></div><div class="note blue no-icon flat"><p>2021年快到了….</p></div><div class="note pink no-icon flat"><p>小心开车 安全至上</p></div><div class="note red no-icon flat"><p>这是三片呢？还是四片？</p></div><div class="note orange no-icon flat"><p>你是刷 Visa 还是 UnionPay</p></div><div class="note purple no-icon flat"><p>剪刀石头布</p></div><div class="note green no-icon flat"><p>前端最讨厌的浏览器</p></div></li></ol>
              </div>
            </details><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="note--5"><details cyan=""><summary> 方法一 </summary>
              <div class="content">
              <ol><li>simple样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note simple %}默认 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note default simple %}default 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note primary simple %}primary 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note success simple %}success 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note info simple %}info 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note warning simple %}warning 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note danger simple %}danger 提示块标签{% endnote %} </span><br></pre></td></tr></tbody></table></figure></li><li>modern样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note modern %}默认 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note default modern %}default 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note primary modern %}primary 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note success modern %}success 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note info modern %}info 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note warning modern %}warning 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note danger modern %}danger 提示块标签{% endnote %} </span><br></pre></td></tr></tbody></table></figure></li><li>flat样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note flat %}默认 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note default flat %}default 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note primary flat %}primary 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note success flat %}success 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note info flat %}info 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note warning flat %}warning 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note danger flat %}danger 提示块标签{% endnote %} </span><br></pre></td></tr></tbody></table></figure></li><li>disabled样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note disabled %}默认 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note default disabled %}default 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note primary disabled %}primary 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note success disabled %}success 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note info disabled %}info 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note warning disabled %}warning 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note danger disabled %}danger 提示块标签{% endnote %}</span><br></pre></td></tr></tbody></table></figure></li><li>no-icon样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note no-icon %}默认 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note default no-icon %}default 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note primary no-icon %}primary 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note success no-icon %}success 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note info no-icon %}info 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note warning no-icon %}warning 提示块标签{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note danger no-icon %}danger 提示块标签{% endnote %}</span><br></pre></td></tr></tbody></table></figure></li></ol>
              </div>
            </details>
<details cyan=""><summary> 方法二 </summary>
              <div class="content">
              <ol><li>simple样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note 'fab fa-cc-visa' simple %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note blue 'fas fa-bullhorn' simple %}2021年快到了....{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note pink 'fas fa-car-crash' simple %}小心开车 安全至上{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note red 'fas fa-fan' simple%}这是三片呢？还是四片？{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note orange 'fas fa-battery-half' simple %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note purple 'far fa-hand-scissors' simple %}剪刀石头布{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note green 'fab fa-internet-explorer' simple %}前端最讨厌的浏览器{% endnote %} </span><br></pre></td></tr></tbody></table></figure></li><li>modern样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note 'fab fa-cc-visa' modern %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note blue 'fas fa-bullhorn' modern %}2021年快到了....{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note pink 'fas fa-car-crash' modern %}小心开车 安全至上{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note red 'fas fa-fan' modern%}这是三片呢？还是四片？{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note orange 'fas fa-battery-half' modern %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note purple 'far fa-hand-scissors' modern %}剪刀石头布{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note green 'fab fa-internet-explorer' modern %}前端最讨厌的浏览器{% endnote %}</span><br></pre></td></tr></tbody></table></figure></li><li>flat样式 <figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note 'fab fa-cc-visa' flat %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note blue 'fas fa-bullhorn' flat %}2021年快到了....{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note pink 'fas fa-car-crash' flat %}小心开车 安全至上{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note red 'fas fa-fan' flat%}这是三片呢？还是四片？{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note orange 'fas fa-battery-half' flat %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note purple 'far fa-hand-scissors' flat %}剪刀石头布{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note green 'fab fa-internet-explorer' flat %}前端最讨厌的浏览器{% endnote %}</span><br></pre></td></tr></tbody></table></figure></li><li>disabled样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note 'fab fa-cc-visa' disabled %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note blue 'fas fa-bullhorn' disabled %}2021年快到了....{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note pink 'fas fa-car-crash' disabled %}小心开车 安全至上{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note red 'fas fa-fan' disabled %}这是三片呢？还是四片？{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note orange 'fas fa-battery-half' disabled %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note purple 'far fa-hand-scissors' disabled %}剪刀石头布{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note green 'fab fa-internet-explorer' disabled %}前端最讨厌的浏览器{% endnote %}</span><br></pre></td></tr></tbody></table></figure></li><li>no-icon样式<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% note no-icon %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note blue no-icon %}2021年快到了....{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note pink no-icon %}小心开车 安全至上{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note red no-icon %}这是三片呢？还是四片？{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note orange no-icon %}你是刷 Visa 还是 UnionPay{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note purple no-icon %}剪刀石头布{% endnote %}</span><br><span class="line"></span><br><span class="line">{% note green no-icon %}前端最讨厌的浏览器{% endnote %}</span><br></pre></td></tr></tbody></table></figure></li></ol>
              </div>
            </details><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="上标标签-tip"><a href="#上标标签-tip" class="headerlink" title="上标标签 tip"></a>上标标签 tip</h1><div class="tabs" id="tip-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#tip--1">标签语法</button></li><li class="tab"><button type="button" data-href="#tip--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#tip--3">样式预览</button></li><li class="tab"><button type="button" data-href="#tip--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="tip--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip [参数，可选] %}文本内容{% endtip %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="tip--2"><ol>
<li>样式: success,error,warning,bolt,ban,home,sync,cogs,key,bell</li>
<li>自定义图标: 支持fontawesome。</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="tip--3"><div class="tip "><p>默认情况</p>
</div>
<div class="tip success"><p>success</p>
</div>
<div class="tip error"><p>error</p>
</div>
<div class="tip warning"><p>warning</p>
</div>
<div class="tip bolt"><p>bolt</p>
</div>
<div class="tip ban"><p>ban</p>
</div>
<div class="tip home"><p>home</p>
</div>
<div class="tip sync"><p>sync</p>
</div>
<div class="tip cogs"><p>cogs</p>
</div>
<div class="tip key"><p>key</p>
</div>
<div class="tip bell"><p>bell</p>
</div>
<div class="tip fa-atom"><p>自定义font awesome图标</p>
</div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="tip--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip %}默认情况{% endtip %}</span><br><span class="line">{% tip success %}success{% endtip %}</span><br><span class="line">{% tip error %}error{% endtip %}</span><br><span class="line">{% tip warning %}warning{% endtip %}</span><br><span class="line">{% tip bolt %}bolt{% endtip %}</span><br><span class="line">{% tip ban %}ban{% endtip %}</span><br><span class="line">{% tip home %}home{% endtip %}</span><br><span class="line">{% tip sync %}sync{% endtip %}</span><br><span class="line">{% tip cogs %}cogs{% endtip %}</span><br><span class="line">{% tip key %}key{% endtip %}</span><br><span class="line">{% tip bell %}bell{% endtip %}</span><br><span class="line">{% tip fa-atom %}自定义font awesome图标{% endtip %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="动态标签-anima"><a href="#动态标签-anima" class="headerlink" title="动态标签 anima"></a>动态标签 anima</h1><div class="tip faa-horizontal animated"><p>动态标签的实质是引用了font-awesome-animation的css样式，不一定局限于tip标签，也可以是其他标签。只不过这里tip.js是我自己写的，所以我清楚它会怎么被渲染成html，才用的这个写法。可以熟读文档，使用html语言来编写其他标签类型。</p>
</div>

<div class="tabs" id="anima-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#anima--1">标签语法</button></li><li class="tab"><button type="button" data-href="#anima--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#anima--3">样式预览</button></li><li class="tab"><button type="button" data-href="#anima--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="anima--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip [参数，可选] %}文本内容{% endtip %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="anima--2"><div class="note blue icon simple"><i class="note-icon fas fa-bullhorn"></i><p>更多详情请参看<a target="_blank" rel="noopener" href="http://l-lin.github.io/font-awesome-animation/">font-awesome-animation文档</a></p>
<ol>
<li>将所需的CSS类添加到图标（或DOM中的任何元素）。</li>
<li>对于父级悬停样式，需要给目标元素添加指定CSS类，同时还要给目标元素的父级元素添加<code>CSS</code>类<code>faa-parent animated-hover</code>。（详情见示例及示例源码）You can regulate the speed of the animation by adding the CSS class or . faa-fastfaa-slow</li>
<li>可以通过给目标元素添加<code>CSS</code>类<code>faa-fast</code>或<code>faa-slow</code>来控制动画快慢。</li>
</ol>
</div>
<!-- 表格 -->

<table>
<thead>
<tr>
<th align="left">On DOM load当页面<br>加载时显示动画</th>
<th align="left">On hover当鼠标<br>悬停时显示动画</th>
<th align="left">On parent hover当鼠标<br>悬停在父元素时显示动画</th>
</tr>
</thead>
<tbody><tr>
<td align="left"><i class="fas fa-wrench faa-wrench animated"></i>&nbsp; faa-wrench animated</td>
<td align="left"><i class="fas fa-wrench faa-wrench animated-hover"></i>&nbsp; faa-wrench animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-wrench faa-wrench"></i>&nbsp; faa-wrench</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-bell faa-ring animated"></i>&nbsp; faa-ring animated</td>
<td align="left"><i class="fas fa-bell faa-ring animated-hover"></i>&nbsp; faa-ring animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-bell faa-ring"></i>&nbsp; faa-ring</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-envelope faa-horizontal animated"></i>&nbsp; faa-horizontal animated</td>
<td align="left"><i class="fas fa-envelope faa-horizontal animated-hover"></i>&nbsp; faa-horizontal animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-envelope faa-horizontal"></i>&nbsp; faa-horizontal</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-thumbs-up faa-vertical animated"></i>&nbsp; faa-vertical animated</td>
<td align="left"><i class="fas fa-thumbs-up faa-vertical animated-hover"></i>&nbsp;  faa-vertical animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-thumbs-up faa-vertical"></i>&nbsp; faa-vertical</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-exclamation-triangle faa-flash animated"></i>&nbsp; faa-flash animated</td>
<td align="left"><i class="fas fa-exclamation-triangle faa-flash animated-hover"></i>&nbsp; faa-flash animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-exclamation-triangle faa-flash"></i>&nbsp; faa-flas</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-thumbs-up faa-bounce animated"></i>&nbsp; faa-bounce animated</td>
<td align="left"><i class="fas fa-thumbs-up faa-bounce animated-hover"></i>&nbsp; faa-bounce animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-thumbs-up faa-bounce"></i>&nbsp; faa-bounce</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-spinner faa-spin animated"></i>&nbsp; faa-spin animated</td>
<td align="left"><i class="fas fa-spinner faa-spin animated-hover"></i>&nbsp; faa-spin animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-spinner faa-spin"></i>&nbsp; faa-spin</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-plane faa-tada animated"></i>&nbsp; faa-tada animated</td>
<td align="left"><i class="fas fa-plane faa-tada animated-hover"></i>&nbsp; faa-tada animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-plane faa-tada"></i>&nbsp; faa-tada</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-heart faa-pulse faa-shake animated"></i>&nbsp; faa-shake animated</td>
<td align="left"><i class="fas fa-heart faa-shake animated-hover"></i>&nbsp; faa-shake animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-heart faa-shake"></i>&nbsp; faa-shake</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-envelope faa-pulse animated"></i>&nbsp; faa-pulse animated</td>
<td align="left"><i class="fas fa-envelope faa-pulse  animated-hover"></i>&nbsp; faa-pulse animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-envelope faa-pulse"></i>&nbsp; faa-pulse</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-circle faa-burst animated"></i>&nbsp; faa-burst animated</td>
<td align="left"><i class="fas fa-circle faa-burst animated-hover"></i>&nbsp; faa-burst animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-circle faa-burst"></i>&nbsp; faa-burst</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-star faa-falling animated"></i>&nbsp; faa-falling animated</td>
<td align="left"><i class="fas fa-star faa-falling animated-hover"></i>&nbsp; faa-falling animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-star faa-falling"></i>&nbsp; faa-falling</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-rocket faa-rising animated"></i>&nbsp; faa-rising animated</td>
<td align="left"><i class="fas fa-rocket faa-rising animated-hover"></i>&nbsp; faa-rising animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-rocket faa-rising"></i>&nbsp; faa-rising</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-trophy faa-tada animated"></i>&nbsp; faa-tada animated</td>
<td align="left"><i class="fas fa-trophy faa-tada animated-hover"></i>&nbsp; faa-tada animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-trophy faa-tada"></i>&nbsp; faa-tada</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-space-shuttle faa-passing animated"></i>&nbsp; faa-passing animated</td>
<td align="left"><i class="fas fa-space-shuttle faa-passing animated-hover"></i>&nbsp; faa-passing animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-space-shuttle faa-passing"></i>&nbsp; faa-passing</span></td>
</tr>
<tr>
<td align="left"><i class="fas fa-space-shuttle faa-passing-reverse animated"></i>&nbsp; faa-passing-reverse animated</td>
<td align="left"><i class="fas fa-space-shuttle faa-passing-reverse animated-hover"></i>&nbsp; faa-passing-reverse animated-hover</td>
<td align="left"><span class="faa-parent animated-hover"><i class="fas fa-space-shuttle faa-passing-reverse"></i>&nbsp; faa-passing-reverse</span></td>
</tr>
</tbody></table><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="anima--3"><ol>
<li><p class="p ">On DOM load（当页面加载时显示动画）</p>
<div class="tip warning faa-horizontal animated"><p>warning</p>
</div>
<div class="tip ban faa-flash animated"><p>ban</p>
</div></li>
<li><p class="p ">调整动画速度</p>
<div class="tip warning faa-horizontal animated faa-fast"><p>warning</p>
</div>
<div class="tip ban faa-flash animated faa-slow"><p>ban</p>
</div></li>
<li><p class="p ">On hover（当鼠标悬停时显示动画）</p>
<div class="tip warning faa-horizontal animated-hover"><p>warning</p>
</div>
<div class="tip ban faa-flash animated-hover"><p>ban</p>
</div></li>
<li> <p class="p ">On parent hover（当鼠标悬停在父级元素时显示动画）</p>
<div class="tip warning faa-parent animated-hover"><p class="faa-horizontal">warning</p></div>
<div class="tip ban faa-parent animated-hover"><p class="faa-flash">ban</p></div>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="anima--4"><ol>
<li>On DOM load（当页面加载时显示动画）<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip warning faa-horizontal animated %}warning{% endtip %}</span><br><span class="line">{% tip ban faa-flash animated %}ban{% endtip %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>调整动画速度<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip warning faa-horizontal animated faa-fast %}warning{% endtip %}</span><br><span class="line">{% tip ban faa-flash animated faa-slow %}ban{% endtip %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>On hover（当鼠标悬停时显示动画）<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip warning faa-horizontal animated-hover %}warning{% endtip %}</span><br><span class="line">{% tip ban faa-flash animated-hover %}ban{% endtip %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>On parent hover（当鼠标悬停在父级元素时显示动画）<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tip warning faa-parent animated-hover %}<span class="xml"><span class="tag">&lt;<span class="name">p</span> <span class="attr">class</span>=<span class="string">"faa-horizontal"</span>&gt;</span></span>warning<span class="xml"><span class="tag">&lt;/<span class="name">p</span>&gt;</span></span>{% endtip %}</span><br><span class="line">{% tip ban faa-parent animated-hover %}<span class="xml"><span class="tag">&lt;<span class="name">p</span> <span class="attr">class</span>=<span class="string">"faa-flash"</span>&gt;</span></span>ban<span class="xml"><span class="tag">&lt;/<span class="name">p</span>&gt;</span></span>{% endtip %}</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="复选列表-checkbox"><a href="#复选列表-checkbox" class="headerlink" title="复选列表 checkbox"></a>复选列表 checkbox</h1><div class="tabs" id="checkbox-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#checkbox--1">标签语法</button></li><li class="tab"><button type="button" data-href="#checkbox--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#checkbox--3">样式预览</button></li><li class="tab"><button type="button" data-href="#checkbox--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="checkbox--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% checkbox 样式参数（可选）, 文本（支持简单md） %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="checkbox--2"><ol>
<li>样式: plus, minus, times</li>
<li>颜色:<span class="p red">red</span>,<span class="p yellow">yellow</span>,<span class="p green">green</span>,<span class="p cyan">cyan</span>,<span class="p blue">blue</span>,<span class="p gray">gray</span></li>
<li>选中状态: checked</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="checkbox--3"><div class="checkbox"><input type="checkbox">
            <p>纯文本测试</p>
            </div>
<div class="checkbox checked"><input type="checkbox" checked="checked">
            <p>支持简单的 <a target="_blank" rel="noopener" href="https://guides.github.com/features/mastering-markdown/">markdown</a> 语法</p>
            </div>
<div class="checkbox red"><input type="checkbox">
            <p>支持自定义颜色</p>
            </div>
<div class="checkbox green checked"><input type="checkbox" checked="checked">
            <p>绿色 + 默认选中</p>
            </div>
<div class="checkbox yellow checked"><input type="checkbox" checked="checked">
            <p>黄色 + 默认选中</p>
            </div>
<div class="checkbox cyan checked"><input type="checkbox" checked="checked">
            <p>青色 + 默认选中</p>
            </div>
<div class="checkbox blue checked"><input type="checkbox" checked="checked">
            <p>蓝色 + 默认选中</p>
            </div>
<div class="checkbox plus green checked"><input type="checkbox" checked="checked">
            <p>增加</p>
            </div>
<div class="checkbox minus yellow checked"><input type="checkbox" checked="checked">
            <p>减少</p>
            </div>
<div class="checkbox times red checked"><input type="checkbox" checked="checked">
            <p>叉</p>
            </div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="checkbox--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% checkbox 纯文本测试 %}</span><br><span class="line">{% checkbox checked, 支持简单的 [<span class="string">markdown</span>](<span class="link">https://guides.github.com/features/mastering-markdown/</span>) 语法 %}</span><br><span class="line">{% checkbox red, 支持自定义颜色 %}</span><br><span class="line">{% checkbox green checked, 绿色 + 默认选中 %}</span><br><span class="line">{% checkbox yellow checked, 黄色 + 默认选中 %}</span><br><span class="line">{% checkbox cyan checked, 青色 + 默认选中 %}</span><br><span class="line">{% checkbox blue checked, 蓝色 + 默认选中 %}</span><br><span class="line">{% checkbox plus green checked, 增加 %}</span><br><span class="line">{% checkbox minus yellow checked, 减少 %}</span><br><span class="line">{% checkbox times red checked, 叉 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="单选列表-radio"><a href="#单选列表-radio" class="headerlink" title="单选列表 radio"></a>单选列表 radio</h1><div class="tabs" id="radio-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#radio--1">标签语法</button></li><li class="tab"><button type="button" data-href="#radio--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#radio--3">样式预览</button></li><li class="tab"><button type="button" data-href="#radio--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="radio--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% radio 样式参数（可选）, 文本（支持简单md） %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="radio--2"><ol>
<li>颜色:<span class="p red">red</span>,<span class="p yellow">yellow</span>,<span class="p green">green</span>,<span class="p cyan">cyan</span>,<span class="p blue">blue</span>,<span class="p gray">gray</span></li>
<li>选中状态: checked</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="radio--3"><div class="checkbox"><input type="radio">
            <p>纯文本测试</p>
            </div>
<div class="checkbox checked"><input type="radio" checked="checked">
            <p>支持简单的 <a target="_blank" rel="noopener" href="https://guides.github.com/features/mastering-markdown/">markdown</a> 语法</p>
            </div>
<div class="checkbox red"><input type="radio">
            <p>支持自定义颜色</p>
            </div>
<div class="checkbox green"><input type="radio">
            <p>绿色</p>
            </div>
<div class="checkbox yellow"><input type="radio">
            <p>黄色</p>
            </div>
<div class="checkbox cyan"><input type="radio">
            <p>青色</p>
            </div>
<div class="checkbox blue"><input type="radio">
            <p>蓝色</p>
            </div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="radio--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% radio 纯文本测试 %}</span><br><span class="line">{% radio checked, 支持简单的 [<span class="string">markdown</span>](<span class="link">https://guides.github.com/features/mastering-markdown/</span>) 语法 %}</span><br><span class="line">{% radio red, 支持自定义颜色 %}</span><br><span class="line">{% radio green, 绿色 %}</span><br><span class="line">{% radio yellow, 黄色 %}</span><br><span class="line">{% radio cyan, 青色 %}</span><br><span class="line">{% radio blue, 蓝色 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="时间轴-timeline"><a href="#时间轴-timeline" class="headerlink" title="时间轴 timeline"></a>时间轴 timeline</h1><div class="tabs" id="timeline-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#timeline--1">标签语法</button></li><li class="tab active"><button type="button" data-href="#timeline--2">样式预览</button></li><li class="tab"><button type="button" data-href="#timeline--3">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="timeline--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% timeline 时间线标题（可选） %}</span><br><span class="line">{% timenode 时间节点（标题） %}</span><br><span class="line">正文内容</span><br><span class="line">{% endtimenode %}</span><br><span class="line">{% timenode 时间节点（标题） %}</span><br><span class="line">正文内容</span><br><span class="line">{% endtimenode %}</span><br><span class="line">{% endtimeline %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="timeline--2"><div class="timeline">
<div class="timenode"><div class="meta"><p></p><p>2020-07-24 <a target="_blank" rel="noopener" href="https://github.com/volantis-x/hexo-theme-volantis/releases">2.6.6 -&gt; 3.0</a></p>
<p></p></div><div class="body"><ol><li>如果有 <code>hexo-lazyload-image</code> 插件，需要删除并重新安装最新版本，设置 <code>lazyload.isSPA: true</code>。</li><li>2.x 版本的 css 和 js 不适用于 3.x 版本，如果使用了 <code>use_cdn: true</code> 则需要删除。</li><li>2.x 版本的 fancybox 标签在 3.x 版本中被重命名为 gallery 。</li><li>2.x 版本的置顶 <code>top: true</code> 改为了 <code>pin: true</code>，并且同样适用于 <code>layout: page</code> 的页面。</li><li>如果使用了 <code>hexo-offline</code> 插件，建议卸载，3.0 版本默认开启了 pjax 服务。</li></ol></div></div>

<div class="timenode"><div class="meta"><p></p><p>2020-05-15 <a target="_blank" rel="noopener" href="https://github.com/volantis-x/hexo-theme-volantis/releases/tag/2.6.6">2.6.3 -&gt; 2.6.6</a></p>
<p></p></div><div class="body"><p>不需要额外处理。</p></div></div>

<div class="timenode"><div class="meta"><p></p><p>2020-04-20 <a target="_blank" rel="noopener" href="https://github.com/volantis-x/hexo-theme-volantis/releases/tag/2.6.3">2.6.2 -&gt; 2.6.3</a></p>
<p></p></div><div class="body"><ol><li>全局搜索 <code>seotitle</code> 并替换为 <code>seo_title</code>。</li><li>group 组件的索引规则有变，使用 group 组件的文章内，<code>group: group_name</code> 对应的组件名必须是 <code>group_name</code>。</li><li>group 组件的列表名优先显示文章的 <code>short_title</code> 其次是 <code>title</code>。</li></ol></div></div>
</div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="timeline--3"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% timeline %}</span><br><span class="line"></span><br><span class="line">{% timenode 2020-07-24 [<span class="string">2.6.6 -&gt; 3.0</span>](<span class="link">https://github.com/volantis-x/hexo-theme-volantis/releases</span>) %}</span><br><span class="line"></span><br><span class="line"><span class="bullet">1.</span> 如果有 <span class="code">`hexo-lazyload-image`</span> 插件，需要删除并重新安装最新版本，设置 <span class="code">`lazyload.isSPA: true`</span>。</span><br><span class="line"><span class="bullet">2.</span> 2.x 版本的 css 和 js 不适用于 3.x 版本，如果使用了 <span class="code">`use_cdn: true`</span> 则需要删除。</span><br><span class="line"><span class="bullet">3.</span> 2.x 版本的 fancybox 标签在 3.x 版本中被重命名为 gallery 。</span><br><span class="line"><span class="bullet">4.</span> 2.x 版本的置顶 <span class="code">`top: true`</span> 改为了 <span class="code">`pin: true`</span>，并且同样适用于 <span class="code">`layout: page`</span> 的页面。</span><br><span class="line"><span class="bullet">5.</span> 如果使用了 <span class="code">`hexo-offline`</span> 插件，建议卸载，3.0 版本默认开启了 pjax 服务。</span><br><span class="line"></span><br><span class="line">{% endtimenode %}</span><br><span class="line"></span><br><span class="line">{% timenode 2020-05-15 [<span class="string">2.6.3 -&gt; 2.6.6</span>](<span class="link">https://github.com/volantis-x/hexo-theme-volantis/releases/tag/2.6.6</span>) %}</span><br><span class="line"></span><br><span class="line">不需要额外处理。</span><br><span class="line"></span><br><span class="line">{% endtimenode %}</span><br><span class="line"></span><br><span class="line">{% timenode 2020-04-20 [<span class="string">2.6.2 -&gt; 2.6.3</span>](<span class="link">https://github.com/volantis-x/hexo-theme-volantis/releases/tag/2.6.3</span>) %}</span><br><span class="line"></span><br><span class="line"><span class="bullet">1.</span> 全局搜索 <span class="code">`seotitle`</span> 并替换为 <span class="code">`seo_title`</span>。</span><br><span class="line"><span class="bullet">2.</span> group 组件的索引规则有变，使用 group 组件的文章内，<span class="code">`group: group_name`</span> 对应的组件名必须是 <span class="code">`group_name`</span>。</span><br><span class="line"><span class="bullet">3.</span> group 组件的列表名优先显示文章的 <span class="code">`short_title`</span> 其次是 <span class="code">`title`</span>。</span><br><span class="line"></span><br><span class="line">{% endtimenode %}</span><br><span class="line"></span><br><span class="line">{% endtimeline %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="链接卡片-link"><a href="#链接卡片-link" class="headerlink" title="链接卡片 link"></a>链接卡片 link</h1><div class="tabs" id="link-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#link--1">标签语法</button></li><li class="tab active"><button type="button" data-href="#link--2">样式预览</button></li><li class="tab"><button type="button" data-href="#link--3">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="link--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% link 标题, 链接, 图片链接（可选） %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="link--2"><div class="tag link"><a class="link-card" title="唐志远の博客" href="https://fe32.top"><div class="left"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/01/14/21dcbc47444ab.jpg"></div><div class="right"><p class="text">唐志远の博客</p><p class="url">https://fe32.top</p></div></a></div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="link--3"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% link 唐志远の博客, https://fe32.top , https://bu.dusays.com/2022/01/14/21dcbc47444ab.jpg %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="按钮-btns"><a href="#按钮-btns" class="headerlink" title="按钮 btns"></a>按钮 btns</h1><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p><code>Volantis</code>的按钮使用的是<code>btn</code>和<code>btns</code>标签。<code>btns</code>和<code>butterfly</code>的<code>button</code>不冲突，但是<code>btn</code>会被强制渲染，导致部分参数失效,而且<code>btn</code>的效果还是<code>butterfly</code>的<code>button</code>更好看些。所以就只适配了<code>btns</code>。</p>
</div>

<div class="tabs" id="btns-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#btns--1">标签语法</button></li><li class="tab"><button type="button" data-href="#btns--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#btns--3">样式预览</button></li><li class="tab"><button type="button" data-href="#btns--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="btns--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% btns 样式参数 %}</span><br><span class="line">{% cell 标题, 链接, 图片或者图标 %}</span><br><span class="line">{% cell 标题, 链接, 图片或者图标 %}</span><br><span class="line">{% endbtns %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="btns--2"><ol>
<li>圆角样式：rounded, circle</li>
<li>增加文字样式：可以在容器内增加 <code>&lt;b&gt;标题&lt;/b&gt;</code>和<code>&lt;p&gt;描述文字&lt;/p&gt;</code></li>
<li>布局方式：<br>默认为自动宽度，适合视野内只有一两个的情况。</li>
</ol>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody><tr>
<td align="left">wide</td>
<td align="left">宽一点的按钮</td>
</tr>
<tr>
<td align="left">fill</td>
<td align="left">填充布局，自动铺满至少一行，多了会换行</td>
</tr>
<tr>
<td align="left">center</td>
<td align="left">居中，按钮之间是固定间距</td>
</tr>
<tr>
<td align="left">around</td>
<td align="left">居中分散</td>
</tr>
<tr>
<td align="left">grid2</td>
<td align="left">等宽最多2列，屏幕变窄会适当减少列数</td>
</tr>
<tr>
<td align="left">grid3</td>
<td align="left">等宽最多3列，屏幕变窄会适当减少列数</td>
</tr>
<tr>
<td align="left">grid4</td>
<td align="left">等宽最多4列，屏幕变窄会适当减少列数</td>
</tr>
<tr>
<td align="left">grid5</td>
<td align="left">等宽最多5列，屏幕变窄会适当减少列数</td>
</tr>
</tbody></table><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="btns--3"><ol>
<li>如果需要显示类似「团队成员」之类的一组含有头像的链接：<div class="btns circle grid5">
         <a class="button" target="_blank" rel="noopener" href="https://xaoxuu.com" title="xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg">xaoxuu</a>
<a class="button" target="_blank" rel="noopener" href="https://xaoxuu.com" title="xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg">xaoxuu</a>
<a class="button" target="_blank" rel="noopener" href="https://xaoxuu.com" title="xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg">xaoxuu</a>
<a class="button" target="_blank" rel="noopener" href="https://xaoxuu.com" title="xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg">xaoxuu</a>
<a class="button" target="_blank" rel="noopener" href="https://xaoxuu.com" title="xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg">xaoxuu</a>
       </div></li>
<li>或者含有图标的按钮：<div class="btns rounded grid5">
         <a class="button" href="/" title="下载源码"><i class="fas fa-download"></i>下载源码</a>
<a class="button" href="/" title="查看文档"><i class="fas fa-book-open"></i>查看文档</a>
       </div></li>
<li>圆形图标 + 标题 + 描述 + 图片 + 网格5列 + 居中：<div class="btns circle center grid5">
         <a target="_blank" rel="noopener" href="https://apps.apple.com/cn/app/heart-mate-pro-hrm-utility/id1463348922?ls=1">
<i class="fab fa-apple"></i>
<b>心率管家</b>
<p class="p red">专业版</p>
<img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/6285336eb791e.png">
</a>
<a target="_blank" rel="noopener" href="https://apps.apple.com/cn/app/heart-mate-lite-hrm-utility/id1475747930?ls=1">
<i class="fab fa-apple"></i>
<b>心率管家</b>
<p class="p green">免费版</p>
<img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/62853399bd275.png">
</a>
       </div>

</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="btns--4"><ol>
<li>如果需要显示类似「团队成员」之类的一组含有头像的链接：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% btns circle grid5 %}</span><br><span class="line">{% cell xaoxuu, https://xaoxuu.com, https://bu.dusays.com/2022/05/02/626f92e193879.jpg %}</span><br><span class="line">{% cell xaoxuu, https://xaoxuu.com, https://bu.dusays.com/2022/05/02/626f92e193879.jpg %}</span><br><span class="line">{% cell xaoxuu, https://xaoxuu.com, https://bu.dusays.com/2022/05/02/626f92e193879.jpg %}</span><br><span class="line">{% cell xaoxuu, https://xaoxuu.com, https://bu.dusays.com/2022/05/02/626f92e193879.jpg %}</span><br><span class="line">{% cell xaoxuu, https://xaoxuu.com, https://bu.dusays.com/2022/05/02/626f92e193879.jpg %}</span><br><span class="line">{% endbtns %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>或者含有图标的按钮：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% btns rounded grid5 %}</span><br><span class="line">{% cell 下载源码, /, fas fa-download %}</span><br><span class="line">{% cell 查看文档, /, fas fa-book-open %}</span><br><span class="line">{% endbtns %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>圆形图标 + 标题 + 描述 + 图片 + 网格5列 + 居中：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% btns circle center grid5 %}</span><br><span class="line"><span class="xml"><span class="tag">&lt;<span class="name">a</span> <span class="attr">href</span>=<span class="string">'https://apps.apple.com/cn/app/heart-mate-pro-hrm-utility/id1463348922?ls=1'</span>&gt;</span></span></span><br><span class="line">  <span class="xml"><span class="tag">&lt;<span class="name">i</span> <span class="attr">class</span>=<span class="string">'fab fa-apple'</span>&gt;</span></span><span class="xml"><span class="tag">&lt;/<span class="name">i</span>&gt;</span></span></span><br><span class="line">  <span class="xml"><span class="tag">&lt;<span class="name">b</span>&gt;</span></span>心率管家<span class="xml"><span class="tag">&lt;/<span class="name">b</span>&gt;</span></span></span><br><span class="line">  {% p red, 专业版 %}</span><br><span class="line">  <span class="xml"><span class="tag">&lt;<span class="name">img</span> <span class="attr">src</span>=<span class="string">'https://bu.dusays.com/2022/05/19/6285336eb791e.png'</span>&gt;</span></span></span><br><span class="line"><span class="xml"><span class="tag">&lt;/<span class="name">a</span>&gt;</span></span></span><br><span class="line"><span class="xml"><span class="tag">&lt;<span class="name">a</span> <span class="attr">href</span>=<span class="string">'https://apps.apple.com/cn/app/heart-mate-lite-hrm-utility/id1475747930?ls=1'</span>&gt;</span></span></span><br><span class="line">  <span class="xml"><span class="tag">&lt;<span class="name">i</span> <span class="attr">class</span>=<span class="string">'fab fa-apple'</span>&gt;</span></span><span class="xml"><span class="tag">&lt;/<span class="name">i</span>&gt;</span></span></span><br><span class="line">  <span class="xml"><span class="tag">&lt;<span class="name">b</span>&gt;</span></span>心率管家<span class="xml"><span class="tag">&lt;/<span class="name">b</span>&gt;</span></span></span><br><span class="line">  {% p green, 免费版 %}</span><br><span class="line">  <span class="xml"><span class="tag">&lt;<span class="name">img</span> <span class="attr">src</span>=<span class="string">'https://bu.dusays.com/2022/05/19/62853399bd275.png'</span>&gt;</span></span></span><br><span class="line"><span class="xml"><span class="tag">&lt;/<span class="name">a</span>&gt;</span></span></span><br><span class="line">{% endbtns %}</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="github卡片-ghcard"><a href="#github卡片-ghcard" class="headerlink" title="github卡片 ghcard"></a>github卡片 ghcard</h1><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p><code>ghcard</code>使用了<code>github-readme-stats</code>的<code>API</code>，支持直接使用<code>markdown</code>语法来写。</p>
</div>

<div class="tabs" id="ghcard-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#ghcard--1">标签语法</button></li><li class="tab"><button type="button" data-href="#ghcard--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#ghcard--3">样式预览</button></li><li class="tab"><button type="button" data-href="#ghcard--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="ghcard--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% ghcard 用户名, 其它参数（可选） %}</span><br><span class="line">{% ghcard 用户名/仓库, 其它参数（可选） %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="ghcard--2"><p>更多参数可以参考：<br><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/anuraghazra/github-readme-stats"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&amp;repo=github-readme-stats&amp;show_owner=true"></a></p>
<p>使用<code>,</code>分割各个参数。写法为：<code>参数名=参数值</code><br>以下只写几个常用参数值。<br>| 参数名        | 取值                                                                                                      | 释义                             |<br>| :———— | :——————————————————————————————————– | :——————————- |<br>| hide          | stars,commits,prs,issues,contribs                                                                         | 隐藏指定统计                     |<br>| count_private | true                                                                                                      | 将私人项目贡献添加到总提交计数中 |<br>| show_icons    | true                                                                                                      | 显示图标                         |<br>| theme         | 请查阅<a target="_blank" rel="noopener" href="https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md">Available Themes</a> | 主题                             |</p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="ghcard--3"><ol>
<li>用户信息卡片<table>
<thead>
<tr>
<th><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;show_owner=true"></a></th>
<th><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=vue&amp;show_owner=true"></a></th>
</tr>
</thead>
<tbody><tr>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=buefy&amp;show_owner=true"></a></td>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=solarized-light&amp;show_owner=true"></a></td>
</tr>
<tr>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=onedark&amp;show_owner=true"></a></td>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=solarized-dark&amp;show_owner=true"></a></td>
</tr>
<tr>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=algolia&amp;show_owner=true"></a></td>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/xaoxuu"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/?username=xaoxuu&amp;theme=calm&amp;show_owner=true"></a></td>
</tr>
</tbody></table>
</li>
<li>仓库信息卡片<table>
<thead>
<tr>
<th><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;show_owner=true"></a></th>
<th><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=vue&amp;show_owner=true"></a></th>
</tr>
</thead>
<tbody><tr>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=buefy&amp;show_owner=true"></a></td>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=solarized-light&amp;show_owner=true"></a></td>
</tr>
<tr>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=onedark&amp;show_owner=true"></a></td>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=solarized-dark&amp;show_owner=true"></a></td>
</tr>
<tr>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=algolia&amp;show_owner=true"></a></td>
<td><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/volantis-x/hexo-theme-volantis"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=volantis-x&amp;repo=hexo-theme-volantis&amp;theme=calm&amp;show_owner=true"></a></td>
</tr>
</tbody></table>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="ghcard--4"><ol>
<li>用户信息卡片<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">| {% ghcard xaoxuu %}                | {% ghcard xaoxuu, theme=vue %}             |</span><br><span class="line">| ---------------------------------- | ------------------------------------------ |</span><br><span class="line">| {% ghcard xaoxuu, theme=buefy %}   | {% ghcard xaoxuu, theme=solarized-light %} |</span><br><span class="line">| {% ghcard xaoxuu, theme=onedark %} | {% ghcard xaoxuu, theme=solarized-dark %}  |</span><br><span class="line">| {% ghcard xaoxuu, theme=algolia %} | {% ghcard xaoxuu, theme=calm %}            |</span><br></pre></td></tr></tbody></table></figure></li>
<li>仓库信息卡片<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">| {% ghcard volantis-x/hexo-theme-volantis %}                | {% ghcard volantis-x/hexo-theme-volantis, theme=vue %}             |</span><br><span class="line">| ---------------------------------------------------------- | ------------------------------------------------------------------ |</span><br><span class="line">| {% ghcard volantis-x/hexo-theme-volantis, theme=buefy %}   | {% ghcard volantis-x/hexo-theme-volantis, theme=solarized-light %} |</span><br><span class="line">| {% ghcard volantis-x/hexo-theme-volantis, theme=onedark %} | {% ghcard volantis-x/hexo-theme-volantis, theme=solarized-dark %}  |</span><br><span class="line">| {% ghcard volantis-x/hexo-theme-volantis, theme=algolia %} | {% ghcard volantis-x/hexo-theme-volantis, theme=calm %}            |</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="github徽标-ghbdage"><a href="#github徽标-ghbdage" class="headerlink" title="github徽标 ghbdage"></a>github徽标 ghbdage</h1><div class="tip warning"><p>关于ghbdage参数的更多具体用法可以参看站内教程：<a href="https://fe32.top/2020/01/07/%E6%B7%BB%E5%8A%A0github%E5%BE%BD%E6%A0%87">添加github徽标</a></p>
</div>

<div class="tabs" id="ghbdage-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#ghbdage--1">标签语法</button></li><li class="tab"><button type="button" data-href="#ghbdage--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#ghbdage--3">样式预览</button></li><li class="tab"><button type="button" data-href="#ghbdage--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="ghbdage--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% bdage [right],[left],[logo]||[color],[link],[title]||[option] %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="ghbdage--2"><ol>
<li><code>left</code>：徽标左边的信息，必选参数。</li>
<li><code>right</code>: 徽标右边的信息，必选参数，</li>
<li><code>logo</code>：徽标图标，图标名称详见<a target="_blank" rel="noopener" href="https://simpleicons.org/">simpleicons</a>，可选参数。</li>
<li><code>color</code>：徽标右边的颜色，可选参数。</li>
<li><code>link</code>：指向的链接，可选参数。</li>
<li><code>title</code>：徽标的额外信息，可选参数。主要用于优化 <code>SEO</code>，但 <code>object</code> 标签不会像 <code>a</code> 标签一样在鼠标悬停显示 <code>title</code> 信息。</li>
<li><code>option</code>：自定义参数，支持<a target="_blank" rel="noopener" href="https://shields.io/">shields.io</a>的全部API参数支持，具体参数可以参看上文中的拓展写法示例。形式为 <code>name1=value2&amp;name2=value2</code>。</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="ghbdage--3"><div class="note info modern"><p>本外挂标签的参数分为三组，用<code>||</code>分割。</p>
</div>

<ol>
<li>基本参数<br><object title="" standby="loading..." data="https://img.shields.io/badge/Butterfly-Theme-orange?logo=&amp;color=orange&amp;link=&amp;"></object><object title="" standby="loading..." data="https://img.shields.io/badge/Hexo-Frame-orange?logo=hexo&amp;color=orange&amp;link=&amp;"></object></li>
<li>信息参数<br><object title="本站使用JsDelivr为静态资源提供CDN加速" standby="loading..." data="https://img.shields.io/badge/JsDelivr-CDN-orange?logo=jsDelivr&amp;color=abcdef&amp;link=https://metroui.org.ua/index.html&amp;"></object><object title="" standby="loading..." data="https://img.shields.io/badge/GitHub-Source-orange?logo=GitHub&amp;color=orange&amp;link=https://github.com/&amp;"></object></li>
<li>拓展参数<br><object title="本站采用双线部署，默认线路托管于Vercel" standby="loading..." data="https://img.shields.io/badge/Vercel-Hosted-orange?logo=Vercel&amp;color=brightgreen&amp;link=https://vercel.com/&amp;style=social&amp;logoWidth=20"></object><object title="" standby="loading..." data="https://img.shields.io/badge/Vercel-Hosted-orange?logo=Vercel&amp;color=orange&amp;link=&amp;style=social&amp;logoWidth=20&amp;logoColor=violet"></object></li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="ghbdage--4"><div class="note info modern"><p>本外挂标签的参数分为三组，用<code>||</code>分割。</p>
</div>

<ol>
<li>基本参数,定义徽标左右文字和图标<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% bdage Theme,Butterfly %}</span><br><span class="line">{% bdage Frame,Hexo,hexo %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>信息参数，定义徽标右侧内容背景色，指向链接<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% bdage CDN,JsDelivr,jsDelivr||abcdef,https://metroui.org.ua/index.html,本站使用JsDelivr为静态资源提供CDN加速 %}</span><br><span class="line">//如果是跨顺序省略可选参数，仍然需要写个逗号,用作分割</span><br><span class="line">{% bdage Source,GitHub,GitHub||,https://github.com/ %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>拓展参数，支持shields的API的全部参数内容<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% bdage Hosted,Vercel,Vercel||brightgreen,https://vercel.com/,本站采用双线部署，默认线路托管于Vercel||style=social&amp;logoWidth=20 %}</span><br><span class="line">//如果是跨顺序省略可选参数组，仍然需要写双竖线||用作分割</span><br><span class="line">{% bdage Hosted,Vercel,Vercel||||style=social&amp;logoWidth=20&amp;logoColor=violet %}</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="网站卡片-sites"><a href="#网站卡片-sites" class="headerlink" title="网站卡片 sites"></a>网站卡片 sites</h1><div class="tabs" id="sites-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#sites--1">标签语法</button></li><li class="tab active"><button type="button" data-href="#sites--2">样式预览</button></li><li class="tab"><button type="button" data-href="#sites--3">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="sites--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% sitegroup %}</span><br><span class="line">{% site 标题, url=链接, screenshot=截图链接, avatar=头像链接（可选）, description=描述（可选） %}</span><br><span class="line">{% site 标题, url=链接, screenshot=截图链接, avatar=头像链接（可选）, description=描述（可选） %}</span><br><span class="line">{% endsitegroup %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="sites--2"><div class="site-card-group"><a class="site-card" href="https://fe32.top/"><div class="img"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg"></div><div class="info"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg"><span class="title">Ethan.Tzy</span><span class="desc">古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志</span></div></a>
<a class="site-card" href="https://fe32.top/"><div class="img"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg"></div><div class="info"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg"><span class="title">Ethan.Tzy</span><span class="desc">古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志</span></div></a>
<a class="site-card" href="https://fe32.top/"><div class="img"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg"></div><div class="info"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg"><span class="title">Ethan.Tzy</span><span class="desc">古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志</span></div></a>
<a class="site-card" href="https://fe32.top/"><div class="img"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg"></div><div class="info"><img class="no-lightbox" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg"><span class="title">Ethan.Tzy</span><span class="desc">古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志</span></div></a></div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="sites--3"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% sitegroup %}</span><br><span class="line">{% site Ethan.Tzy,  url=https://fe32.top/, screenshot=https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg, avatar=https://bu.dusays.com/2022/05/02/626f92e193879.jpg, description=古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志%}</span><br><span class="line">{% site Ethan.Tzy,  url=https://fe32.top/, screenshot=https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg, avatar=https://bu.dusays.com/2022/05/02/626f92e193879.jpg, description=古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志%}</span><br><span class="line">{% site Ethan.Tzy,  url=https://fe32.top/, screenshot=https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg, avatar=https://bu.dusays.com/2022/05/02/626f92e193879.jpg, description=古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志%}</span><br><span class="line">{% site Ethan.Tzy,  url=https://fe32.top/, screenshot=https://bu.dusays.com/2022/06/01/6296ceb2e4935.jpg, avatar=https://bu.dusays.com/2022/05/02/626f92e193879.jpg, description=古今之成大事者，不惟有超世之才，亦必有坚忍不拔之志%}</span><br><span class="line">{% endsitegroup %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="行内图片-inlineimage"><a href="#行内图片-inlineimage" class="headerlink" title="行内图片 inlineimage"></a>行内图片 inlineimage</h1><div class="tabs" id="inlineimage-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#inlineimage--1">标签语法</button></li><li class="tab"><button type="button" data-href="#inlineimage--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#inlineimage--3">样式预览</button></li><li class="tab"><button type="button" data-href="#inlineimage--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="inlineimage--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% inlineimage 图片链接, height=高度（可选） %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="inlineimage--2"><ol>
<li>高度：height=20px</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="inlineimage--3"><p>这是 <img no-lazy="" class="inline" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/628532706842d.gif" style="height:1.5em"> 一段话。</p>
<p>这又是 <img no-lazy="" class="inline" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/6285328a83ca7.gif" style="height:40px;"> 一段话。</p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="inlineimage--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">这是 {% inlineimage https://bu.dusays.com/2022/05/19/628532706842d.gif %} 一段话。</span><br><span class="line"></span><br><span class="line">这又是 {% inlineimage https://bu.dusays.com/2022/05/19/6285328a83ca7.gif, height=40px %} 一段话。</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="单张图片-image"><a href="#单张图片-image" class="headerlink" title="单张图片 image"></a>单张图片 image</h1><div class="tabs" id="image-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#image--1">标签语法</button></li><li class="tab"><button type="button" data-href="#image--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#image--3">样式预览</button></li><li class="tab"><button type="button" data-href="#image--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="image--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% image 链接, width=宽度（可选）, height=高度（可选）, alt=描述（可选）, bg=占位颜色（可选） %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="image--2"><ol>
<li>图片宽度高度：width=300px, height=32px</li>
<li>图片描述：alt=图片描述（butterfly需要在主题配置文件中开启图片描述）</li>
<li>占位背景色：bg=#f2f2f2</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="image--3"><ol>
<li>添加描述：<div class="img-wrap"><div class="img-bg"><img class="img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/6285306c996c4.jpg" alt="愿你成为自己的太阳，无需凭借谁的光芒。"></div><span class="image-caption">愿你成为自己的太阳，无需凭借谁的光芒。</span></div></li>
<li>指定宽度：<div class="img-wrap"><div class="img-bg"><img class="img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/6285306c996c4.jpg" style="width:400px;"></div></div></li>
<li>指定宽度并添加描述：<div class="img-wrap"><div class="img-bg"><img class="img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/6285306c996c4.jpg" alt="愿你成为自己的太阳，无需凭借谁的光芒。" style="width:400px;"></div><span class="image-caption">愿你成为自己的太阳，无需凭借谁的光芒。</span></div></li>
<li>设置占位背景色：<div class="img-wrap"><div class="img-bg" style="background:#1D0C04"><img class="img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/6285306c996c4.jpg" alt="优化不同宽度浏览的观感" style="width:400px;"></div><span class="image-caption">优化不同宽度浏览的观感</span></div>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="image--4"><ol>
<li>添加描述：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% image https://bu.dusays.com/2022/05/19/6285306c996c4.jpg, alt=愿你成为自己的太阳，无需凭借谁的光芒。 %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>指定宽度：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% image https://bu.dusays.com/2022/05/19/6285306c996c4.jpg, width=400px %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>指定宽度并添加描述：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% image https://bu.dusays.com/2022/05/19/6285306c996c4.jpg, width=400px, alt=愿你成为自己的太阳，无需凭借谁的光芒。 %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>设置占位背景色：<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% image https://bu.dusays.com/2022/05/19/6285306c996c4.jpg, width=400px, bg=#1D0C04, alt=优化不同宽度浏览的观感 %}</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="音频-audio"><a href="#音频-audio" class="headerlink" title="音频 audio"></a>音频 audio</h1><div class="tabs" id="audio-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#audio--1">标签语法</button></li><li class="tab active"><button type="button" data-href="#audio--2">样式预览</button></li><li class="tab"><button type="button" data-href="#audio--3">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="audio--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% audio 音频链接 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="audio--2"><div class="audio"><audio controls="" preload=""><source src="https://github.com/volantis-x/volantis-docs/releases/download/assets/Lumia1020.mp3" type="audio/mp3">Your browser does not support the audio tag.</audio></div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="audio--3"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% audio https://github.com/volantis-x/volantis-docs/releases/download/assets/Lumia1020.mp3 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="视频-video"><a href="#视频-video" class="headerlink" title="视频 video"></a>视频 video</h1><div class="tabs" id="video-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#video--1">标签语法</button></li><li class="tab"><button type="button" data-href="#video--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#video--3">样式预览</button></li><li class="tab"><button type="button" data-href="#video--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="video--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% video 视频链接 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="video--2"><ol>
<li>对其方向：left, center, right</li>
<li>列数：逗号后面直接写列数，支持 1 ～ 4 列。</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="video--3"><ol>
<li>100%宽度<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div></li>
<li>50%宽度<div class="videos" col="2"><div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div></div></li>
<li>25%宽度<div class="videos" col="4"><div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>
<div class="video"><video controls="" preload=""><source src="https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=_b_B5980ab28f909cff50f35f4b4b1c8c298.mp4" type="video/mp4">Your browser does not support the video tag.</video></div></div>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="video--4"><ol>
<li>100%宽度<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>50%宽度<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% videos, 2 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% endvideos %}</span><br></pre></td></tr></tbody></table></figure></li>
<li>25%宽度<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% videos, 4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% video https://txmov2.a.yximgs.com/upic/2022/11/13/21/BMjAyMjExMTMyMTQxNThfMjk1MTM4ODg1MV84ODY2ODQ2MzE3NV8wXzM=<span class="emphasis">_b_</span>B5980ab28f909cff50f35f4b4b1c8c298.mp4 %}</span><br><span class="line">{% endvideos %}</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="相册-gallery"><a href="#相册-gallery" class="headerlink" title="相册 gallery"></a>相册 gallery</h1><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p><code>Butterfl</code>y自带<code>gallery</code>相册，而且会根据图片大小自动调整排版，效果比<code>Volantis</code>的<code>gallery</code>更好，故不再收录<code>Volantis</code>的<code>gallery</code>标签。</p>
</div>
<div class="note flat"><p>以下为<code>Butterfly</code>自带的<code>gallery</code>标签写法。相册图库和相册配合使用。</p>
</div>

<div class="tabs" id="gallery-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#gallery--1">标签语法</button></li><li class="tab"><button type="button" data-href="#gallery--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#gallery--3">样式预览</button></li><li class="tab"><button type="button" data-href="#gallery--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="gallery--1"><ol>
<li>gallerygroup 相册图库<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line"><span class="xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"gallery-group-main"</span>&gt;</span></span></span><br><span class="line">{% galleryGroup name description link img-url %}</span><br><span class="line">{% galleryGroup name description link img-url %}</span><br><span class="line">{% galleryGroup name description link img-url %}</span><br><span class="line"><span class="xml"><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br></pre></td></tr></tbody></table></figure></li>
<li>gallery 相册<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% gallery %}</span><br><span class="line">markdown 圖片格式</span><br><span class="line">{% endgallery %}</span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="gallery--2"><ul>
<li><p>gallerygroup 相册图库</p>
<table>
<thead>
<tr>
<th align="left">参数名</th>
<th align="left">释义</th>
</tr>
</thead>
<tbody><tr>
<td align="left">name</td>
<td align="left">图库名字</td>
</tr>
<tr>
<td align="left">description</td>
<td align="left">图库描述</td>
</tr>
<tr>
<td align="left">link</td>
<td align="left">链接到对应相册的地址</td>
</tr>
<tr>
<td align="left">img-url</td>
<td align="left">图库封面</td>
</tr>
</tbody></table>
</li>
<li><p>gallery 相册<br>区别于旧版的<code>Gallery相册</code>,新的<code>Gallery相册</code>会自动根据图片长度进行排版，书写也更加方便，与<code>markdown</code>格式一样。可根据需要插入到相应的md。无需再自己配置长宽。<b>建议在粘贴时故意使用长短、大小、横竖不一的图片</b>，会有更好的效果。（尺寸完全相同的图片只会平铺输出，效果很糟糕）</p>
</li>
</ul><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="gallery--3"><ul>
<li>gallerygroup 相册图库</li>
</ul>
<div class="gallery-group-main">

  <figure class="gallery-group">
  <img class="gallery-group-img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2021/03/25/b9d521eda085e.jpg" alt="Group Image Gallery">
  <figcaption>
  <div class="gallery-group-name">武汉</div>
  <p>2017年武汉跨年</p>
  <a href="/@3.7.1/gallery/WUHAN" target="_blank"></a>
  </figcaption>
  </figure>


  <figure class="gallery-group">
  <img class="gallery-group-img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2021/03/25/bb2882626bf45.jpg" alt="Group Image Gallery">
  <figcaption>
  <div class="gallery-group-name">张家界</div>
  <p>2017年10月张家界</p>
  <a href="/@3.7.1/gallery/ZJJ" target="_blank"></a>
  </figcaption>
  </figure>


  <figure class="gallery-group">
  <img class="gallery-group-img" src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2021/03/26/4e948551b37a8.jpg" alt="Group Image Gallery">
  <figcaption>
  <div class="gallery-group-name">成都</div>
  <p>2019年成都跨年</p>
  <a href="/@3.7.1/gallery/CD" target="_blank"></a>
  </figcaption>
  </figure>

</div>

<ul>
<li>gallery 相册</li>
</ul>
<div class="justified-gallery"><p><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/Fze9jchtnyJXMHN.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/ryLVePaqkYm4TEK.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/gEy5Zc1Ai6VuO4N.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/d6QHbytlSYO4FBG.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/6nepIJ1xTgufatZ.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/E7Jvr4eIPwUNmzq.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/mh19anwBSWIkGlH.jpg"><br><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://i.loli.net/2019/12/25/2tu9JC8ewpBFagv.jpg"></p>
          </div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="gallery--4"><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p>使用相册图库的话，可以在导航栏加一个gallery的page(<b>使用指令<b><code>hexo new page gallery</code><b>添加<b>)，里面放相册图库作为封面。然后在<code>[Blogroot]/source/gallery/</code>下面建立相应的文件夹，例如若按照这里的示例，若欲使用<code>/gallery/DM1/</code>路径访问MC相册，则需要新建<code>[Blogroot]/source/gallery/MC/index.md</code>，并在里面填入<code>gallery</code>相册内容。</b></b></b></b></p><b><b><b>
</b></b></b></div><b><b><b>
1. gallerygroup 相册图库
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line"><span class="xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"gallery-group-main"</span>&gt;</span></span></span><br><span class="line">{% galleryGroup DM1 '/gallery/DM1/' https://bu.dusays.com/2022/01/08/80f5b9302a257.jpg %}</span><br><span class="line">{% galleryGroup DM2 '/gallery/DM2/' https://bu.dusays.com/2022/03/03/2025544a69a3a.jpg %}</span><br><span class="line">{% galleryGroup Ethan '/gallery/Ethan/' https://bu.dusays.com/2022/03/03/43851ed59eb66.jpg %}</span><br><span class="line"><span class="xml"><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br></pre></td></tr></tbody></table></figure>
2. gallery 相册
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% gallery %}</span><br><span class="line">![](https://i.loli.net/2019/12/25/Fze9jchtnyJXMHN.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/ryLVePaqkYm4TEK.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/gEy5Zc1Ai6VuO4N.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/d6QHbytlSYO4FBG.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/6nepIJ1xTgufatZ.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/E7Jvr4eIPwUNmzq.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/mh19anwBSWIkGlH.jpg)</span><br><span class="line">![](https://i.loli.net/2019/12/25/2tu9JC8ewpBFagv.jpg)</span><br><span class="line">{% endgallery %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></b></b></b></div></div></div><b><b><b>

<h1 id="折叠框-folding"><a href="#折叠框-folding" class="headerlink" title="折叠框 folding"></a>折叠框 folding</h1><div class="tabs" id="folding-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#folding--1">标签语法</button></li><li class="tab"><button type="button" data-href="#folding--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#folding--3">样式预览</button></li><li class="tab"><button type="button" data-href="#folding--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="folding--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% folding 参数（可选）, 标题 %}</span><br><span class="line">![](https://bu.dusays.com/2022/05/19/628533399e7a1.jpg)</span><br><span class="line">{% endfolding %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="folding--2"><ol>
<li>颜色：blue, cyan, green, yellow, red</li>
<li>状态：状态填写 open 代表默认打开。</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="folding--3"><details><summary> 查看图片测试 </summary>
              <div class="content">
              <p><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/628533399e7a1.jpg"></p>
              </div>
            </details>

<details cyan="" open=""><summary> 查看默认打开的折叠框 </summary>
              <div class="content">
              <p>这是一个默认打开的折叠框。</p>
              </div>
            </details>

<details green=""><summary> 查看代码测试 </summary>
              <div class="content">
              <p>假装这里有代码块（代码块没法嵌套代码块）</p>
              </div>
            </details>

<details yellow=""><summary> 查看列表测试 </summary>
              <div class="content">
              <ul><li>haha</li><li>hehe</li></ul>
              </div>
            </details>

<details red=""><summary> 查看嵌套测试 </summary>
              <div class="content">
              <details blue=""><summary> 查看嵌套测试2 </summary>              <div class="content">              <details><summary> 查看嵌套测试3 </summary>              <div class="content">              <p>hahaha <span><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2022/05/19/62853244cef33.png" style="height:24px"></span></p>              </div>            </details>              </div>            </details>
              </div>
            </details><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="folding--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% folding 查看图片测试 %}</span><br><span class="line"></span><br><span class="line">![](https://bu.dusays.com/2022/05/19/628533399e7a1.jpg)</span><br><span class="line"></span><br><span class="line">{% endfolding %}</span><br><span class="line"></span><br><span class="line">{% folding cyan open, 查看默认打开的折叠框 %}</span><br><span class="line"></span><br><span class="line">这是一个默认打开的折叠框。</span><br><span class="line"></span><br><span class="line">{% endfolding %}</span><br><span class="line"></span><br><span class="line">{% folding green, 查看代码测试 %}</span><br><span class="line">假装这里有代码块（代码块没法嵌套代码块）</span><br><span class="line">{% endfolding %}</span><br><span class="line"></span><br><span class="line">{% folding yellow, 查看列表测试 %}</span><br><span class="line"></span><br><span class="line"><span class="bullet">-</span> haha</span><br><span class="line"><span class="bullet">-</span> hehe</span><br><span class="line"></span><br><span class="line">{% endfolding %}</span><br><span class="line"></span><br><span class="line">{% folding red, 查看嵌套测试 %}</span><br><span class="line"></span><br><span class="line">{% folding blue, 查看嵌套测试2 %}</span><br><span class="line"></span><br><span class="line">{% folding 查看嵌套测试3 %}</span><br><span class="line"></span><br><span class="line">hahaha <span class="xml"><span class="tag">&lt;<span class="name">span</span>&gt;</span></span><span class="xml"><span class="tag">&lt;<span class="name">img</span> <span class="attr">src</span>=<span class="string">'https://bu.dusays.com/2022/05/19/62853244cef33.png'</span> <span class="attr">style</span>=<span class="string">'height:24px'</span>&gt;</span></span><span class="xml"><span class="tag">&lt;/<span class="name">span</span>&gt;</span></span></span><br><span class="line"></span><br><span class="line">{% endfolding %}</span><br><span class="line"></span><br><span class="line">{% endfolding %}</span><br><span class="line"></span><br><span class="line">{% endfolding %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="分栏-tab"><a href="#分栏-tab" class="headerlink" title="分栏 tab"></a>分栏 tab</h1><div class="tabs" id="tab-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#tab--1">标签语法</button></li><li class="tab"><button type="button" data-href="#tab--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#tab--3">样式预览</button></li><li class="tab"><button type="button" data-href="#tab--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="tab--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tabs Unique name, [index] %}</span><br><span class="line">&lt;!-- tab [Tab caption] [@icon] --&gt;</span><br><span class="line">Any content (support inline tags too).</span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line">{% endtabs %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="tab--2"><ol>
<li>Unique name :<ul>
<li>选项卡块标签的唯一名称，不带逗号。</li>
<li>将在#id中用作每个标签及其索引号的前缀。</li>
<li>如果名称中包含空格，则对于生成#id，所有空格将由破折号代替。</li>
<li>仅当前帖子/页面的URL必须是唯一的</li>
</ul>
</li>
<li>[index]:<ul>
<li>活动选项卡的索引号。</li>
<li>如果未指定，将选择第一个标签（1）。</li>
<li>如果index为-1，则不会选择任何选项卡。</li>
<li>可选参数</li>
</ul>
</li>
<li>[Tab caption]:<ul>
<li>当前选项卡的标题。</li>
<li>如果未指定标题，则带有制表符索引后缀的唯一名称将用作制表符的标题。</li>
<li>如果未指定标题，但指定了图标，则标题将为空。</li>
<li>可选参数。</li>
</ul>
</li>
<li>[@icon]:<ul>
<li>FontAwesome图标名称（全名，看起来像“ fas fa-font”）</li>
<li>可以指定带空格或不带空格；</li>
<li>例如’Tab caption @icon’ 和 ‘Tab caption@icon’.</li>
<li>可选参数。</li>
</ul>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="tab--3"><div class="note primary flat"><p>Demo 1 - 预设选择第一个【默认】</p>
</div>
<div class="tabs" id="test1"><ul class="nav-tabs"><li class="tab active"><button type="button" data-href="#test1-1">test1 1</button></li><li class="tab"><button type="button" data-href="#test1-2">test1 2</button></li><li class="tab"><button type="button" data-href="#test1-3">test1 3</button></li></ul><div class="tab-contents"><div class="tab-item-content active" id="test1-1"><p><strong>This is Tab 1.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test1-2"><p><strong>This is Tab 2.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test1-3"><p><strong>This is Tab 3.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>
<div class="note primary flat"><p>Demo 2 - 预设选择tabs</p>
</div>
<div class="tabs" id="test2"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#test2-1">test2 1</button></li><li class="tab"><button type="button" data-href="#test2-2">test2 2</button></li><li class="tab active"><button type="button" data-href="#test2-3">test2 3</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="test2-1"><p><strong>This is Tab 1.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test2-2"><p><strong>This is Tab 2.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="test2-3"><p><strong>This is Tab 3.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>
<div class="note primary flat"><p>Demo 3 - 没有预设值</p>
</div>
<div class="tabs" id="test3"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#test3-1">test3 1</button></li><li class="tab"><button type="button" data-href="#test3-2">test3 2</button></li><li class="tab"><button type="button" data-href="#test3-3">test3 3</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="test3-1"><p><strong>This is Tab 1.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test3-2"><p><strong>This is Tab 2.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test3-3"><p><strong>This is Tab 3.</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>
<div class="note primary flat"><p>Demo 4 - 自定义Tab名 + 只有icon + icon和Tab名</p>
</div>
<div class="tabs" id="test4"><ul class="nav-tabs"><li class="tab active"><button type="button" data-href="#test4-1">第一个Tab</button></li><li class="tab"><button type="button" data-href="#test4-2"><i class="fab fa-apple-pay" style="text-align: center;"></i></button></li><li class="tab"><button type="button" data-href="#test4-3"><i class="fas fa-bomb"></i>炸弹</button></li></ul><div class="tab-contents"><div class="tab-item-content active" id="test4-1"><p><strong>tab名字为第一个Tab</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test4-2"><p><strong>只有图标 没有Tab名字</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="test4-3"><p><strong>名字+icon</strong></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="tab--4"><div class="note primary flat"><p>Demo 1 - 预设选择第一个【默认】</p>
</div>
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tabs test1 %}</span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 1.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 2.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 3.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line">{% endtabs %}</span><br></pre></td></tr></tbody></table></figure>
<div class="note primary flat"><p>Demo 2 - 预设选择tabs</p>
</div>
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tabs test2, 3 %}</span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 1.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 2.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 3.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line">{% endtabs %}</span><br></pre></td></tr></tbody></table></figure>
<div class="note primary flat"><p>Demo 3 - 没有预设值</p>
</div>
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tabs test3, -1 %}</span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 1.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 2.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab --&gt;</span><br><span class="line"><span class="strong">**This is Tab 3.**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line">{% endtabs %}</span><br></pre></td></tr></tbody></table></figure>
<div class="note primary flat"><p>Demo 4 - 自定义Tab名 + 只有icon + icon和Tab名</p>
</div>
<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% tabs test4 %}</span><br><span class="line">&lt;!-- tab 第一个Tab --&gt;</span><br><span class="line"><span class="strong">**tab名字为第一个Tab**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab @fab fa-apple-pay --&gt;</span><br><span class="line"><span class="strong">**只有图标 没有Tab名字**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line"></span><br><span class="line">&lt;!-- tab 炸弹@fas fa-bomb --&gt;</span><br><span class="line"><span class="strong">**名字+icon**</span></span><br><span class="line">&lt;!-- endtab --&gt;</span><br><span class="line">{% endtabs %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="诗词标签-poem"><a href="#诗词标签-poem" class="headerlink" title="诗词标签 poem"></a>诗词标签 poem</h1><div class="tabs" id="poem-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#poem--1">标签语法</button></li><li class="tab"><button type="button" data-href="#poem--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#poem--3">样式预览</button></li><li class="tab"><button type="button" data-href="#poem--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="poem--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% poem [title],[author] %}</span><br><span class="line">诗词内容</span><br><span class="line">{% endpoem %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="poem--2"><ol>
<li>title：诗词标题</li>
<li>author：作者，可以不写</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="poem--3"><div class="poem"><div class="poem-title">水调歌头</div><div class="poem-author">苏轼</div><p>丙辰中秋，欢饮达旦，大醉，作此篇，兼怀子由。<br>明月几时有？把酒问青天。<br>不知天上宫阙，今夕是何年？<br>我欲乘风归去，又恐琼楼玉宇，高处不胜寒。<br>起舞弄清影，何似在人间？</p>
<p>转朱阁，低绮户，照无眠。<br>不应有恨，何事长向别时圆？<br>人有悲欢离合，月有阴晴圆缺，此事古难全。<br>但愿人长久，千里共婵娟。</p>
</div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="poem--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% poem 水调歌头,苏轼 %}</span><br><span class="line">丙辰中秋，欢饮达旦，大醉，作此篇，兼怀子由。</span><br><span class="line">明月几时有？把酒问青天。</span><br><span class="line">不知天上宫阙，今夕是何年？</span><br><span class="line">我欲乘风归去，又恐琼楼玉宇，高处不胜寒。</span><br><span class="line">起舞弄清影，何似在人间？</span><br><span class="line"></span><br><span class="line">转朱阁，低绮户，照无眠。</span><br><span class="line">不应有恨，何事长向别时圆？</span><br><span class="line">人有悲欢离合，月有阴晴圆缺，此事古难全。</span><br><span class="line">但愿人长久，千里共婵娟。</span><br><span class="line">{% endpoem %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="阿里图标-icon"><a href="#阿里图标-icon" class="headerlink" title="阿里图标 icon"></a>阿里图标 icon</h1><details red=""><summary> 点击查看Hexo引入阿里矢量图标库教程 </summary>
              <div class="content">
              <div class="tabs" id="hexo引入阿里矢量图标库教程-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#hexo引入阿里矢量图标库教程--1">参考教程</button></li><li class="tab"><button type="button" data-href="#hexo引入阿里矢量图标库教程--2">添加图标</button></li><li class="tab active"><button type="button" data-href="#hexo引入阿里矢量图标库教程--3">引入图标</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="hexo引入阿里矢量图标库教程--1"><p>阿里图标库全名阿里巴巴矢量图标库。提供了丰富的免费图标资源。并且支持多种引入方式。<br>参考文档：<a target="_blank" rel="noopener" href="https://www.iconfont.cn/help/detail?helptype=code">阿里巴巴矢量图标库使用文档</a><br>本博文只介绍<kbd>外挂标签方案</kbd>,如果需要了解<kbd>线上引入方案</kbd>和<kbd>本地引入方案</kbd>，请移步此博文：<a target="_blank" rel="noopener" href="https://akilar.top/posts/d2ebecef/#%E5%BC%95%E5%85%A5%E5%9B%BE%E6%A0%87">传送门</a>。</p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="hexo引入阿里矢量图标库教程--2"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://bu.dusays.com/2021/12/31/d43691b3b6edc.png"><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="hexo引入阿里矢量图标库教程--3"><ol><li>找到之前新建的图标项目，选择<kbd>Symbol</kbd> -&gt; <kbd>查看在线链接</kbd>，获取<code>Symbol.js</code>的在线链接,并引入。以<code>Butterfly</code>主题为例，在<code>[Blogroot]/_config.butterfly.yml</code>的<code>inject</code>配置项中填入：<figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line">    inject:</span><br><span class="line">      head:</span><br><span class="line">      bottom:</span><br><span class="line"><span class="addition">+       - &lt;script async src="//at.alicdn.com/t/font_2264842_3izu8i5eoc2.js"&gt;&lt;/script&gt;</span></span><br></pre></td></tr></tbody></table></figure>此处<code>async</code>是异步加载属性，能够减少HTML阻塞</li><li>添加外挂标签，在<code>[Blogroot]/node_modules/hexo-theme-butterfly/scripts/tag/</code>目录下新建<code>iconfont.js</code>，打开<code>[Blogroot]/node_modules/hexo-theme-butterfly/scripts/tag/iconfont.js</code>,输入：<figure class="highlight js"><table><tbody><tr><td class="code"><pre><span class="line"><span class="meta">'use strict'</span>;</span><br><span class="line"></span><br><span class="line"><span class="function"><span class="keyword">function</span> <span class="title">iconFont</span>(<span class="params">args</span>) </span>{</span><br><span class="line">  args = args.join(<span class="string">' '</span>).split(<span class="string">','</span>)</span><br><span class="line">  <span class="keyword">let</span> p0 = args[<span class="number">0</span>]</span><br><span class="line">  <span class="keyword">let</span> p1 = args[<span class="number">1</span>]?args[<span class="number">1</span>]:<span class="number">1</span></span><br><span class="line">  <span class="keyword">return</span> <span class="string">`&lt;svg class="icon" style="width:<span class="subst">${p1}</span>em; height:<span class="subst">${p1}</span>em" aria-hidden="true"&gt;&lt;use xlink:href="#<span class="subst">${p0}</span>"&gt;&lt;/use&gt;&lt;/svg&gt;`</span>;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line">hexo.extend.tag.register(<span class="string">'icon'</span>,iconFont);</span><br></pre></td></tr></tbody></table></figure></li><li><code>hexo cl &amp;&amp; hexo g</code>以后即可使用外挂标签的形式来写入图标了。使用方式：见下面分栏Tab。<span class="github-emoji"><span>⬇</span><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github.githubassets.com/images/icons/emoji/unicode/2b07.png?v8" aria-hidden="true" onerror="this.parent.classList.add('github-emoji-fallback')"></span></li></ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>
              </div>
            </details>

<div class="tabs" id="icon-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#icon--1">标签语法</button></li><li class="tab"><button type="button" data-href="#icon--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#icon--3">样式预览</button></li><li class="tab"><button type="button" data-href="#icon--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="icon--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% icon [icon-xxxx],[font-size] %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="icon--2"><ol>
<li><code>icon-xxxx</code>：表示图标<code>font-class</code>,可以在自己的阿里矢量图标库项目的<code>font-class</code>引用方案内查询并复制。</li>
<li><code>font-size</code>：表示图标大小，直接填写数字即可，单位为<code>em</code>。图标大小默认值为<code>1em</code>。</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="icon--3"><div class="ethan_tzy_no_th_bg">

<table>
<thead>
<tr>
<th align="left"><svg class="icon" style="width:1em; height:1em" aria-hidden="true"><use xlink:href="#icon-bianpao"></use></svg></th>
<th align="left"><svg class="icon" style="width:2em; height:2em" aria-hidden="true"><use xlink:href="#icon-chuanghua"></use></svg></th>
<th align="left"><svg class="icon" style="width:3em; height:3em" aria-hidden="true"><use xlink:href="#icon-hongbao"></use></svg></th>
<th align="left"><svg class="icon" style="width:4em; height:4em" aria-hidden="true"><use xlink:href="#icon-baozhu"></use></svg></th>
<th align="left"><svg class="icon" style="width:5em; height:5em" aria-hidden="true"><use xlink:href="#icon-lipao"></use></svg></th>
<th align="left"><svg class="icon" style="width:6em; height:6em" aria-hidden="true"><use xlink:href="#icon-shanzi"></use></svg></th>
</tr>
</thead>
<tbody><tr>
<td align="left"><svg class="icon" style="width:1em; height:1em" aria-hidden="true"><use xlink:href="#icon-denglong"></use></svg></td>
<td align="left"><svg class="icon" style="width:2em; height:2em" aria-hidden="true"><use xlink:href="#icon-zhongguojie"></use></svg></td>
<td align="left"><svg class="icon" style="width:3em; height:3em" aria-hidden="true"><use xlink:href="#icon-tongqian"></use></svg></td>
<td align="left"><svg class="icon" style="width:4em; height:4em" aria-hidden="true"><use xlink:href="#icon-yanhua"></use></svg></td>
<td align="left"><svg class="icon" style="width:5em; height:5em" aria-hidden="true"><use xlink:href="#icon-fuzi"></use></svg></td>
<td align="left"><svg class="icon" style="width:6em; height:6em" aria-hidden="true"><use xlink:href="#icon-qiqiu"></use></svg></td>
</tr>
<tr>
<td align="left"><svg class="icon" style="width:1em; height:1em" aria-hidden="true"><use xlink:href="#icon-qiandaizi"></use></svg></td>
<td align="left"><svg class="icon" style="width:2em; height:2em" aria-hidden="true"><use xlink:href="#icon-duilian"></use></svg></td>
<td align="left"><svg class="icon" style="width:3em; height:3em" aria-hidden="true"><use xlink:href="#icon-bingtanghulu"></use></svg></td>
<td align="left"><svg class="icon" style="width:4em; height:4em" aria-hidden="true"><use xlink:href="#icon-liwu"></use></svg></td>
<td align="left"><svg class="icon" style="width:5em; height:5em" aria-hidden="true"><use xlink:href="#icon-tangguo"></use></svg></td>
<td align="left"><svg class="icon" style="width:6em; height:6em" aria-hidden="true"><use xlink:href="#icon-jiaozi"></use></svg></td>
</tr>
<tr>
<td align="left"><svg class="icon" style="width:1em; height:1em" aria-hidden="true"><use xlink:href="#icon-wanju"></use></svg></td>
<td align="left"><svg class="icon" style="width:2em; height:2em" aria-hidden="true"><use xlink:href="#icon-yuanbao"></use></svg></td>
<td align="left"><svg class="icon" style="width:3em; height:3em" aria-hidden="true"><use xlink:href="#icon-hongbao"></use></svg></td>
<td align="left"><svg class="icon" style="width:4em; height:4em" aria-hidden="true"><use xlink:href="#icon-lipao"></use></svg></td>
<td align="left"><svg class="icon" style="width:5em; height:5em" aria-hidden="true"><use xlink:href="#icon-denglong"></use></svg></td>
<td align="left"><svg class="icon" style="width:6em; height:6em" aria-hidden="true"><use xlink:href="#icon-tangguo"></use></svg></td>
</tr>
</tbody></table>
</div><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="icon--4"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% icon icon-bianpao %}{% icon icon-chuanghua,2 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-hongbao,3 %}{% icon icon-baozhu,4 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-lipao,5 %}{% icon icon-shanzi,6 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-denglong,1 %}{% icon icon-zhongguojie,2 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-tongqian,3 %}{% icon icon-yanhua,4 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-fuzi,5 %}{% icon icon-qiqiu,6 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-qiandaizi %}{% icon icon-duilian,2 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-bingtanghulu,3 %}{% icon icon-liwu,4 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-tangguo,5 %}{% icon icon-jiaozi,6 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-wanju %}{% icon icon-yuanbao,2 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-lipao,3 %}{% icon icon-lipao,4 %}</span><br><span class="line"></span><br><span class="line">{% icon icon-denglong,5 %}{% icon icon-tangguo,6 %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<h1 id="特效标签-wow"><a href="#特效标签-wow" class="headerlink" title="特效标签 wow"></a>特效标签 wow</h1><details red=""><summary> 点击查看wow.js引入教程 </summary>
              <div class="content">
              <div class="tabs" id="wow.js引入教程-"><ul class="nav-tabs"><li class="tab active"><button type="button" data-href="#wow.js引入教程--1">参考教程</button></li><li class="tab"><button type="button" data-href="#wow.js引入教程--2">基础引用</button></li><li class="tab"><button type="button" data-href="#wow.js引入教程--3">插件配置方案（💘推荐）</button></li><li class="tab"><button type="button" data-href="#wow.js引入教程--4">外挂标签写法配置方案</button></li><li class="tab"><button type="button" data-href="#wow.js引入教程--5">BUG反馈归纳</button></li></ul><div class="tab-contents"><div class="tab-item-content active" id="wow.js引入教程--1"><table><thead><tr><th align="left">参考方向</th><th align="left">教程原贴</th></tr></thead><tbody><tr><td align="left">动画样式依赖</td><td align="left"><a target="_blank" rel="noopener" href="https://animate.style/">animate.css参考文档</a></td></tr><tr><td align="left">wow.js文档</td><td align="left"><a class="ghcard" rel="external nofollow noopener noreferrer noopener" target="_blank" href="https://github.com/graingert/wow"><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github-readme-stats.vercel.app/api/pin/?username=graingert&amp;repo=wow&amp;theme=vue&amp;show_owner=true"></a></td></tr></tbody></table><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="wow.js引入教程--2"><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p>若您不想修改源码，只需使用基础引用方案即可</p></div><ol><li><p>新建<code>[Blogroot]/node_modules/hexo-theme-butterfly/source/js/wow_init.js</code>，配置特性动画的默认项。</p><figure class="highlight js"><table><tbody><tr><td class="code"><pre><span class="line">wow = <span class="keyword">new</span> WOW({</span><br><span class="line">  boxClass: <span class="string">'wow'</span>,</span><br><span class="line">  <span class="comment">// 当用户滚动时显示隐藏框的类名称</span></span><br><span class="line">  animateClass: <span class="string">'animate__animated'</span>,</span><br><span class="line">  <span class="comment">// 触发 CSS 动画的类名称（动画库默认为"animate.css"库）</span></span><br><span class="line">  offset: <span class="number">0</span>,</span><br><span class="line">  <span class="comment">// 定义浏览器视口底部与隐藏框顶部之间的距离。</span></span><br><span class="line">  <span class="comment">// 当用户滚动并到达此距离时，将显示隐藏的框。</span></span><br><span class="line">  mobile: <span class="literal">false</span>,</span><br><span class="line">  <span class="comment">// 在移动设备上打开/关闭wow.js。</span></span><br><span class="line">  live: <span class="literal">true</span></span><br><span class="line">  <span class="comment">// 在页面上检查新的 wow.js元素。</span></span><br><span class="line">})</span><br><span class="line">wow.init();</span><br></pre></td></tr></tbody></table></figure></li><li><p>引入<code>js</code>和<code>css</code>样式，修改<code>[Blogroot]/_config.butterfly.yml</code>的<code>inject</code>配置项，添加样式资源。</p><figure class="highlight yaml"><table><tbody><tr><td class="code"><pre><span class="line"><span class="attr">inject:</span></span><br><span class="line">  <span class="attr">head:</span></span><br><span class="line">    <span class="bullet">-</span> <span class="string">&lt;link</span> <span class="string">rel="stylesheet"</span> <span class="string">href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"</span> <span class="string">media="defer"</span> <span class="string">onload="this.media='all'"&gt;</span></span><br><span class="line">  <span class="attr">bottom:</span></span><br><span class="line">    <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">defer</span> <span class="string">src="https://fastly.jsdelivr.net/gh/graingert/wow@1.3.0/dist/wow.min.js"&gt;&lt;/script&gt;</span></span><br><span class="line">    <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">defer</span> <span class="string">data-pjax</span> <span class="string">src="/js/wow_init.js"&gt;&lt;/script&gt;</span></span><br></pre></td></tr></tbody></table></figure></li><li><p>选择需要添加动画的<code>dom</code>元素，添加动画<code>class</code>类。此处提供三种写法。</p><ul><li>页面内写法，拟给<code>&lt;div class='example'&gt;&lt;div&gt;</code>套上动画。一般在page页面或post页面中使用（也就是写博客的.md文件）。<figure class="highlight html"><table><tbody><tr><td class="code"><pre><span class="line"><span class="comment">&lt;!-- raw的外挂标签是告诉渲染引擎这段代码不用渲染。 --&gt;</span></span><br><span class="line">{% raw %}</span><br><span class="line"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"example wow animate__bounceInUp"</span>&gt;</span></span><br><span class="line">Content to Reveal Here</span><br><span class="line"><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br><span class="line">{% endraw %}</span><br></pre></td></tr></tbody></table></figure></li><li>pug写法，拟给首页文章卡片套上动画，直接源码修改：修改<code>[Blogroot]/node_modules/hexo-theme-butterfly/layout/includes/mixins/post-ui.pug</code><figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line">    mixin postUI(posts)</span><br><span class="line">      each article , index in page.posts.data</span><br><span class="line"><span class="deletion">-       .recent-post-item</span></span><br><span class="line"><span class="addition">+       .recent-post-item.wow.animate__zoomIn</span></span><br><span class="line">          - let link = article.link || article.path</span><br><span class="line">          - let title = article.title || _p('no_title')</span><br></pre></td></tr></tbody></table></figure></li><li>js批量添加写法（引入顺序需要在wow_init.js之前，而且需要pjax重载，每页重新添加一遍class）。通过在页面按F12,使用控制台右上角的元素选择器找到对应元素并获取class类名。<br>修改<code>[Blogroot]/node_modules/hexo-theme-butterfly/source/js/wow_init.js</code>，在原有内容之前添加内容：<figure class="highlight js"><table><tbody><tr><td class="code"><pre><span class="line"><span class="comment">// 给首页文章卡片套上动画</span></span><br><span class="line"><span class="keyword">var</span> arr = <span class="built_in">document</span>.getElementsByClassName(<span class="string">"recent-post-item"</span>);</span><br><span class="line"><span class="keyword">for</span>(<span class="keyword">var</span> i = <span class="number">0</span>;i&lt;arr.length;i++){</span><br><span class="line">    arr[i].classList.add(<span class="string">"wow"</span>); <span class="comment">//必要项，添加wow.js标记</span></span><br><span class="line">    arr[i].classList.add(<span class="string">"animate__zoomIn"</span>); <span class="comment">//必要项，添加样式动画</span></span><br><span class="line">  }</span><br><span class="line"><span class="comment">// 给侧栏卡片套上动画</span></span><br><span class="line"><span class="keyword">var</span> arr = <span class="built_in">document</span>.getElementsByClassName(<span class="string">"card-widget"</span>);</span><br><span class="line"><span class="keyword">for</span>(<span class="keyword">var</span> i = <span class="number">0</span>;i&lt;arr.length;i++){</span><br><span class="line">    arr[i].classList.add(<span class="string">"wow"</span>);</span><br><span class="line">    arr[i].classList.add(<span class="string">"animate__slideInRight"</span>);</span><br><span class="line">  }</span><br><span class="line"><span class="comment">//初始化函数</span></span><br><span class="line">wow = <span class="keyword">new</span> WOW({</span><br><span class="line">  boxClass: <span class="string">'wow'</span>,</span><br><span class="line">  <span class="comment">// 当用户滚动时显示隐藏框的类名称</span></span><br><span class="line">  animateClass: <span class="string">'animate__animated'</span>,</span><br><span class="line">  <span class="comment">// 触发 CSS 动画的类名称（动画库默认为"animate.css"库）</span></span><br><span class="line">  offset: <span class="number">0</span>,</span><br><span class="line">  <span class="comment">// 定义浏览器视口底部与隐藏框顶部之间的距离。</span></span><br><span class="line">  <span class="comment">// 当用户滚动并到达此距离时，将显示隐藏的框。</span></span><br><span class="line">  mobile: <span class="literal">true</span>,</span><br><span class="line">  <span class="comment">// 在移动设备上打开/关闭wow.js。</span></span><br><span class="line">  live: <span class="literal">true</span></span><br><span class="line">  <span class="comment">// 在页面上检查新的 wow.js元素。</span></span><br><span class="line">})</span><br><span class="line">wow.init();</span><br></pre></td></tr></tbody></table></figure></li></ul></li><li><p>运行<code>hexo cl &amp;&amp; hexo g</code>之后即可看到效果。更多动画样式可以查看<a target="_blank" rel="noopener" href="https://animate.style/">animate.css参考文档</a>。</p></li></ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="wow.js引入教程--3"><div class="tip cogs"><p>插件化配置方案是基于<code>Butterfly_v3.4.1</code>编写的，低版本可能有些许不适用，可以考虑使用基础引入方案或者升级主题。或者自己理解后重构配置。</p></div><ol><li>新建<code>[Blogroot]/node_modules/hexo-theme-butterfly/source/js/wow_init.js</code> 配置默认值<figure class="highlight js"><table><tbody><tr><td class="code"><pre><span class="line">wow = <span class="keyword">new</span> WOW({</span><br><span class="line">  boxClass: <span class="string">'wow'</span>,</span><br><span class="line">  <span class="comment">// 当用户滚动时显示隐藏框的类名称</span></span><br><span class="line">  animateClass: <span class="string">'animate__animated'</span>,</span><br><span class="line">  <span class="comment">// 触发 CSS 动画的类名称（动画库默认为"animate.css"库）</span></span><br><span class="line">  offset: <span class="number">0</span>,</span><br><span class="line">  <span class="comment">// 定义浏览器视口底部与隐藏框顶部之间的距离。</span></span><br><span class="line">  <span class="comment">// 当用户滚动并到达此距离时，将显示隐藏的框。</span></span><br><span class="line">  mobile: <span class="literal">false</span>,</span><br><span class="line">  <span class="comment">// 在移动设备上打开/关闭wow.js。</span></span><br><span class="line">  <span class="comment">// 经测试此项配置无效。</span></span><br><span class="line">  live: <span class="literal">true</span></span><br><span class="line">  <span class="comment">// 在页面上检查新的 wow.js元素。</span></span><br><span class="line">})</span><br><span class="line">wow.init();</span><br></pre></td></tr></tbody></table></figure></li><li>新建<code>[Blogroot]/node_modules/hexo-theme-butterfly/layout/includes/third-party/wowjs.pug</code><figure class="highlight plain"><table><tbody><tr><td class="code"><pre><span class="line">.pjax-reload</span><br><span class="line">  if theme.wowjs.animateitem</span><br><span class="line">    each item in theme.wowjs.animateitem</span><br><span class="line">      script(async).</span><br><span class="line">        var arr = document.getElementsByClassName('!{item.class}');</span><br><span class="line">        for(var i = 0;i&lt;arr.length;i++){</span><br><span class="line">            arr[i].classList.add('wow');</span><br><span class="line">            arr[i].classList.add('!{item.style}');</span><br><span class="line">            arr[i].setAttribute('data-wow-duration', '!{item.duration}');</span><br><span class="line">            arr[i].setAttribute('data-wow-delay', '!{item.delay}');</span><br><span class="line">            arr[i].setAttribute('data-wow-offset', '!{item.offset}');</span><br><span class="line">            arr[i].setAttribute('data-wow-iteration', '!{item.iteration}');</span><br><span class="line">          }</span><br><span class="line">script(defer src=url_for(theme.CDN.wowjs))</span><br><span class="line">script(defer src=url_for(theme.CDN.wowjs_init))</span><br></pre></td></tr></tbody></table></figure></li><li>修改<code>[Blogroot]/node_modules/hexo-theme-butterfly/layout/includes/head.pug</code>的内容<figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line">    //- font</span><br><span class="line">    if theme.blog_title_font &amp;&amp;　theme.blog_title_font.font_link</span><br><span class="line">      link(rel='stylesheet' href=url_for(theme.blog_title_font.font_link) media="print" onload="this.media='all'")</span><br><span class="line"><span class="addition">+   //- animate_css</span></span><br><span class="line"><span class="addition">+   if theme.wowjs.enable   </span></span><br><span class="line"><span class="addition">+     link(rel='stylesheet' href=url_for(theme.CDN.animate_css) media="print" onload="this.media='all'")</span></span><br><span class="line">    //- global config</span><br><span class="line">    !=partial('includes/head/config', {}, {cache:true})</span><br></pre></td></tr></tbody></table></figure></li><li>修改<code>[Blogroot]/node_modules/hexo-theme-butterfly/layout/includes/additional-js.pug</code>的内容<figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line">    if theme.pjax.enable</span><br><span class="line">      !=partial('includes/third-party/pjax', {}, {cache:true})</span><br><span class="line"></span><br><span class="line">    !=partial('includes/third-party/baidu_push', {}, {cache:true})</span><br><span class="line"></span><br><span class="line"><span class="addition">+   if theme.wowjs.enable</span></span><br><span class="line"><span class="addition">+     !=partial('includes/third-party/wowjs', {}, {cache:true})</span></span><br></pre></td></tr></tbody></table></figure></li><li>修改<code>[Blogroot]/node_modules/hexo-theme-butterfly/layout/includes/third-party/pjax.pug</code>的内容<div class="tabs" id="tags_wg-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#tags_wg--1">Butterfly_v3.0.0-3.3.0</button></li><li class="tab active"><button type="button" data-href="#tags_wg--2">Butterfly_v3.4.0+</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="tags_wg--1"><div class="tip warning"><p>原则上不推荐再用低于v3.4.0的版本，新版方案已经实现去jquery化，而此处的pjax适配仍然是需要jquery的。</p></div><figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line"><span class="deletion">-   $('script[data-pjax]').each(function () {</span></span><br><span class="line"><span class="addition">+   $('script[data-pjax], .pjax-reload script').each(function () {</span></span><br><span class="line">      $(this).parent().append($(this).remove())</span><br><span class="line">    })</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="tags_wg--2"><figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line"><span class="deletion">-   document.querySelectorAll('script[data-pjax]').forEach(item =&gt; {</span></span><br><span class="line"><span class="addition">+   document.querySelectorAll('script[data-pjax], .pjax-reload script').forEach(item =&gt; {</span></span><br><span class="line">      const newScript = document.createElement('script')</span><br><span class="line">      const content = item.text || item.textContent || item.innerHTML || ""</span><br><span class="line">      Array.from(item.attributes).forEach(attr =&gt; newScript.setAttribute(attr.name, attr.value))</span><br><span class="line">      newScript.appendChild(document.createTextNode(content))</span><br><span class="line">      item.parentNode.replaceChild(newScript, item)</span><br><span class="line">    })</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div></li><li>修改<code>[Blogroot]/_config.butterfly.yml</code>,添加<code>CDN</code>配置项<figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line">    CDN:</span><br><span class="line">      main_css: https://fastly.jsdelivr.net/gh/tzy13755126023/tzy13755126023.github.io/css/index.css</span><br><span class="line">      jquery: https://fastly.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js</span><br><span class="line">      main: https://fastly.jsdelivr.net/gh/tzy13755126023/tzy13755126023.github.io@bf_3.4.1_2/js/main.js</span><br><span class="line">      utils: https://fastly.jsdelivr.net/gh/tzy13755126023/tzy13755126023.github.io@bf_3.4.1_2/js/utils.js</span><br><span class="line"><span class="addition">+     wowjs: https://fastly.jsdelivr.net/gh/graingert/wow@1.3.0/dist/wow.min.js</span></span><br><span class="line"><span class="addition">+     wowjs_init: /js/wow_init.js # 之后可以自己换成CDN链接</span></span><br><span class="line"><span class="addition">+     animate_css: https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css</span></span><br></pre></td></tr></tbody></table></figure></li><li>修改<code>[Blogroot]/_config.butterfly.yml</code>，添加<code>wowjs</code>开关配置项,其中<code>class</code>和<code>style</code>是必填项，其余四个是选填项。此处提供首页文章卡片和侧栏卡片添加动画的示例<figure class="highlight yaml"><table><tbody><tr><td class="code"><pre><span class="line"><span class="attr">wowjs:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span> <span class="comment">#控制动画开关。true是打开，false是关闭</span></span><br><span class="line">  <span class="attr">animateitem:</span></span><br><span class="line">    <span class="bullet">-</span> <span class="attr">class:</span> <span class="string">recent-post-item</span> <span class="comment">#必填项，需要添加动画的元素的class</span></span><br><span class="line">      <span class="attr">style:</span> <span class="string">animate__zoomIn</span> <span class="comment">#必填项，需要添加的动画</span></span><br><span class="line">      <span class="attr">duration:</span> <span class="string">1s</span> <span class="comment">#选填项，动画持续时间，单位可以是ms也可以是s。例如3s，700ms。</span></span><br><span class="line">      <span class="attr">delay:</span> <span class="string">1s</span> <span class="comment">#选填项，动画开始的延迟时间，单位可以是ms也可以是s。例如3s，700ms。</span></span><br><span class="line">      <span class="attr">offset:</span> <span class="number">100</span> <span class="comment">#选填项，开始动画的距离（相对浏览器底部）</span></span><br><span class="line">      <span class="attr">iteration:</span> <span class="number">1</span> <span class="comment">#选填项，动画重复的次数</span></span><br><span class="line">    <span class="bullet">-</span> <span class="attr">class:</span> <span class="string">card-widget</span></span><br><span class="line">      <span class="attr">style:</span> <span class="string">animate__zoomIn</span></span><br></pre></td></tr></tbody></table></figure></li><li>运行<code>hexo cl &amp;&amp; hexo g</code>之后即可看到效果。更多动画样式可以查看<a target="_blank" rel="noopener" href="https://animate.style/">animate.css参考文档</a>。</li></ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="wow.js引入教程--4"><ol><li>外挂标签写法生效的前提是完成了上面的<code>基础引入</code>方案或者<code>插件引入</code>方案（二选一即可）。</li><li>新建<code>[Blogroot]/node_modules/hexo-theme-butterfly/scripts/tag/wowanimate.js</code>:<figure class="highlight plain"><table><tbody><tr><td class="code"><pre><span class="line">'use strict'</span><br><span class="line"></span><br><span class="line">function wow (args, content) {</span><br><span class="line">  args = args.join(' ').split(',')</span><br><span class="line">  let p0 = args[0]?args[0].trim():''</span><br><span class="line">  let p1 = args[1]?args[1].trim():''</span><br><span class="line">  let p2 = args[2]?args[2].trim():''</span><br><span class="line">  let p3 = args[3]?args[3].trim():''</span><br><span class="line">  let p4 = args[4]?args[4].trim():''</span><br><span class="line">  return `&lt;div class='wow ${p0}' data-wow-duration='${p1}' data-wow-delay='${p2}' data-wow-offset='${p3}'  data-wow-iteration='${p4}' &gt;${hexo.render.renderSync({ text: content, engine: 'markdown' })}&lt;/div&gt;`</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line">hexo.extend.tag.register('wow',wow,{ ends: true });</span><br></pre></td></tr></tbody></table></figure></li><li>使用方式：见下面分栏Tab。<span class="github-emoji"><span>⬇</span><img src= "https://bu.dusays.com/2022/01/14/1ff50a00bd75c.gif" data-lazy-src="https://github.githubassets.com/images/icons/emoji/unicode/2b07.png?v8" aria-hidden="true" onerror="this.parent.classList.add('github-emoji-fallback')"></span></li></ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="wow.js引入教程--5"><ol><li>如果使用了gulp，在压缩js时可能报错：<figure class="highlight bash"><table><tbody><tr><td class="code"><pre><span class="line">wow_init.js:1 Uncaught ReferenceError: wow is not defined</span><br></pre></td></tr></tbody></table></figure></li><li>修改<code>[Blogroot]/gulpfile.js</code>,添加一行屏蔽项，不要压缩<code>wow_init.js</code><figure class="highlight diff"><table><tbody><tr><td class="code"><pre><span class="line">    //minify js babel</span><br><span class="line">    gulp.task('compress', () =&gt;</span><br><span class="line"><span class="deletion">-     gulp.src(['./public/**/*.js', '!./public/**/*.min.js'])</span></span><br><span class="line"><span class="addition">+     gulp.src(['./public/**/*.js', '!./public/**/*.min.js','!./public/js/wow_init.js'])</span></span><br><span class="line">    		.pipe(babel({</span><br><span class="line">    			presets: ['@babel/preset-env']</span><br></pre></td></tr></tbody></table></figure></li></ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>
              </div>
            </details>

<div class="tabs" id="wow-"><ul class="nav-tabs"><li class="tab"><button type="button" data-href="#wow--1">标签语法</button></li><li class="tab"><button type="button" data-href="#wow--2">配置参数</button></li><li class="tab active"><button type="button" data-href="#wow--3">样式预览</button></li><li class="tab"><button type="button" data-href="#wow--4">示例源码</button></li></ul><div class="tab-contents"><div class="tab-item-content" id="wow--1"><figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% wow [animete],[duration],[delay],[offset],[iteration] %}</span><br></pre></td></tr></tbody></table></figure><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="wow--2"><ol>
<li><code>animate</code>: 动画样式，效果详见<a target="_blank" rel="noopener" href="https://animate.style/">animate.css参考文档</a>。</li>
<li><code>duration</code>: 选填项，动画持续时间，单位可以是<code>ms</code>也可以是<code>s</code>。例如<code>3s</code>，<code>700ms</code>。</li>
<li><code>delay</code>: 选填项，动画开始的延迟时间，单位可以是<code>ms</code>也可以是<code>s</code>。例如<code>3s</code>，<code>700ms</code>。</li>
<li><code>offset</code>: 选填项，开始动画的距离（相对浏览器底部）。</li>
<li><code>iteration</code>: 选填项，动画重复的次数。</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content active" id="wow--3"><ol>
<li><code>flip</code>动画效果。<div class="wow animate__flip" data-wow-duration="" data-wow-delay="" data-wow-offset="" data-wow-iteration=""><div class="note green icon modern"><i class="note-icon fas fa-fan"></i><p><code>flip</code>动画效果。</p>
</div></div></li>
<li><code>zoomIn</code>动画效果，持续<code>5s</code>，延时<code>5s</code>，离底部<code>100</code>距离时启动，重复<code>10</code>次。 <div class="wow animate__zoomIn" data-wow-duration="5s" data-wow-delay="5s" data-wow-offset="100" data-wow-iteration="10"><div class="note blue icon modern"><i class="note-icon fas fa-bullhorn"></i><p><code>zoomIn</code>动画效果，持续<code>5s</code>，延时<code>5s</code>，离底部<code>100</code>距离时启动，重复<code>10</code>次</p>
</div></div></li>
<li><code>slideInRight</code>动画效果，持续<code>5s</code>，延时<code>5s</code>。 <div class="wow animate__slideInRight" data-wow-duration="5s" data-wow-delay="5s" data-wow-offset="" data-wow-iteration=""><div class="note orange icon modern"><i class="note-icon fas fa-car"></i><p><code>slideInRight</code>动画效果，持续<code>5s</code>，延时<code>5s</code>。</p>
</div></div></li>
<li><code>heartBeat</code>动画效果，延时<code>5s</code>，重复<code>10</code>次。<div class="wow animate__heartBeat" data-wow-duration="" data-wow-delay="5s" data-wow-offset="" data-wow-iteration="10"><div class="note red icon modern"><i class="note-icon fas fa-battery-half"></i><p><code>heartBeat</code>动画效果，延时<code>5s</code>，重复<code>10</code>次。</p>
</div></div>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="wow--4"><ol>
<li><code>flip</code>动画效果。<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% wow animate<span class="strong">__flip %}</span></span><br><span class="line"><span class="strong">{% note green 'fas fa-fan' modern%}</span></span><br><span class="line"><span class="strong">`flip`动画效果。</span></span><br><span class="line"><span class="strong">{% endnote %}</span></span><br><span class="line"><span class="strong">{% endwow %}</span></span><br></pre></td></tr></tbody></table></figure></li>
<li><code>zoomIn</code>动画效果，持续<code>5s</code>，延时<code>5s</code>，离底部<code>100</code>距离时启动，重复<code>10</code>次。 <figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% wow animate<span class="strong">__zoomIn,5s,5s,100,10 %}</span></span><br><span class="line"><span class="strong">{% note blue 'fas fa-bullhorn' modern%}</span></span><br><span class="line"><span class="strong">`zoomIn`动画效果，持续`5s`，延时`5s`，离底部`100`距离时启动，重复`10`次</span></span><br><span class="line"><span class="strong">{% endnote %}</span></span><br><span class="line"><span class="strong">{% endwow %}</span></span><br></pre></td></tr></tbody></table></figure></li>
<li><code>slideInRight</code>动画效果，持续<code>5s</code>，延时<code>5s</code>。 <figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% wow animate<span class="strong">__slideInRight,5s,5s %}</span></span><br><span class="line"><span class="strong">{% note orange 'fas fa-car' modern%}</span></span><br><span class="line"><span class="strong">`slideInRight`动画效果，持续`5s`，延时`5s`。</span></span><br><span class="line"><span class="strong">{% endnote %}</span></span><br><span class="line"><span class="strong">{% endwow %}</span></span><br></pre></td></tr></tbody></table></figure></li>
<li><code>heartBeat</code>动画效果，延时<code>5s</code>，重复<code>10</code>次。<figure class="highlight markdown"><table><tbody><tr><td class="code"><pre><span class="line">{% wow animate<span class="strong">__heartBeat,,5s,,10 %}</span></span><br><span class="line"><span class="strong">{% note red 'fas fa-battery-half' modern%}</span></span><br><span class="line"><span class="strong">`heartBeat`动画效果，延时`5s`，重复`10`次。</span></span><br><span class="line"><span class="strong">{% endnote %}</span></span><br><span class="line"><span class="strong">{% endwow %}</span></span><br></pre></td></tr></tbody></table></figure>
</li>
</ol><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>

<!-- <div class="note info flat"><p>本文摘自：<a target="_blank" rel="noopener" href="https://akilar.top/posts/615e2dec">Akilarの外挂标签引入</a></p>
</div> --></b></b></b></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://fe32.top">Ethan.Tzy</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://fe32.top/articles/0xiipgum/">https://fe32.top/articles/0xiipgum/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://fe32.top" target="_blank">唐志远の博客</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/@3.7.1/tags/Hexo/">Hexo</a><a class="post-meta__tags" href="/@3.7.1/tags/Butterfly/">Butterfly</a></div><div class="post_share"><div class="social-share" data-image="https://bu.dusays.com/2022/05/01/626e8d500f25f.png" data-sites="facebook,twitter,google,wechat,weibo,qq"></div><link rel="stylesheet" href="https://npm.elemecdn.com/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://npm.elemecdn.com/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button button--animated"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="https://bu.dusays.com/2022/05/17/6283c3f127558.jpg" target="_blank"><img class="post-qr-code-img" data-lazy-src="https://bu.dusays.com/2022/05/17/6283c3f127558.jpg" alt="wechat"/></a><div class="post-qr-code-desc">wechat</div></li><li class="reward-item"><a href="https://bu.dusays.com/2022/05/17/6283c3ee6d872.jpg" target="_blank"><img class="post-qr-code-img" data-lazy-src="https://bu.dusays.com/2022/05/17/6283c3ee6d872.jpg" alt="alipay"/></a><div class="post-qr-code-desc">alipay</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/@3.7.1/articles/9r95s1wt/"><img class="prev-cover" data-lazy-src="https://bu.dusays.com/2022/05/02/626eaea70e682.png" onerror="onerror=null;src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Nvm,npm与nrm</div></div></a></div><div class="next-post pull-right"><a href="/@3.7.1/articles/kfwr2gpa/"><img class="next-cover" data-lazy-src="https://bu.dusays.com/2022/05/02/626eb40f87b02.png" onerror="onerror=null;src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">添加Github徽标</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/@3.7.1/articles/hexo1601/" title="基于 Hexo 从零开始搭建个人博客（一）"><img class="cover" data-lazy-src="https://bu.dusays.com/2022/05/08/6277cd74796af.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-05-08</div><div class="title">基于 Hexo 从零开始搭建个人博客（一）</div></div></a></div><div><a href="/@3.7.1/articles/hexo1600/" title="基于 Hexo 从零开始搭建个人博客系列"><img class="cover" data-lazy-src="https://bu.dusays.com/2022/06/05/629c65942cd1c.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-06-05</div><div class="title">基于 Hexo 从零开始搭建个人博客系列</div></div></a></div><div><a href="/@3.7.1/articles/hexo1603/" title="基于 Hexo 从零开始搭建个人博客（三）"><img class="cover" data-lazy-src="https://bu.dusays.com/2022/05/26/628e6ab643d37.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-05-26</div><div class="title">基于 Hexo 从零开始搭建个人博客（三）</div></div></a></div><div><a href="/@3.7.1/articles/hexo1602/" title="基于 Hexo 从零开始搭建个人博客（二）"><img class="cover" data-lazy-src="https://bu.dusays.com/2022/05/25/628d12bdec61c.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-05-25</div><div class="title">基于 Hexo 从零开始搭建个人博客（二）</div></div></a></div><div><a href="/@3.7.1/articles/hexo1604/" title="基于 Hexo 从零开始搭建个人博客（四）"><img class="cover" data-lazy-src="https://bu.dusays.com/2022/05/26/628fa0426213d.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-05-26</div><div class="title">基于 Hexo 从零开始搭建个人博客（四）</div></div></a></div><div><a href="/@3.7.1/articles/hexo1615/" title="飞只因太美，给你的首页装上吧！"><img class="cover" data-lazy-src="https://bu.dusays.com/2022/11/06/63673dee7fa25.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-11-06</div><div class="title">飞只因太美，给你的首页装上吧！</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" data-lazy-src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg" onerror="this.onerror=null;this.src='https://bu.dusays.com/2021/03/27/0106da541a922.gif'" alt="avatar"/><div class="author-info__name">Ethan.Tzy</div><div class="author-info__description">2023年的理想开始实现了吗？</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/@3.7.1/archives/"><div class="headline">文章</div><div class="length-num">101</div></a></div><div class="card-info-data-item is-center"><a href="/@3.7.1/tags/"><div class="headline">标签</div><div class="length-num">73</div></a></div><div class="card-info-data-item is-center"><a href="/@3.7.1/categories/"><div class="headline">分类</div><div class="length-num">20</div></a></div></div><div class="card-info-social-icons is-center"><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&amp;uin=2938526863&amp;site=qq&amp;menu=yes" target="_blank" title="QQ"><i class="fab fa-qq"></i></a><a class="social-icon" href="https://bu.dusays.com/2022/05/17/6283c39fcfc2f.png" target="_blank" title="Wechat"><i class="fab fa-weixin"></i></a><a class="social-icon" href="mailto:ethan4116@163.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="https://github.com/tzy13755126023" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="/@3.7.1/atom.xml" target="_blank" title="Rss"><i class="fas fa-rss"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content"><div style='text-indent:2em'>本站只保留入口，即将不再更新内容，请切换成回最新版本。</div><div id="qq-btn"><a id="a-qun" href="https://fe32.top/" target="_blank">回最新版本 ✨</a></div><div id="qq-btn" style="margin-top:10px"><a id="a-qun" href="https://qm.qq.com/cgi-bin/qm/qr?k=IqfyAyFpCIMln6xPXkjkI_gzF8zx29zK&jump_from=webapi&authKey=jcME5f+e8XES0vAaUTAaI24tsgUMdoIZ0oGwAOoHNpK1HSWdcI9zmSlWVdfw/ax+" target="_blank">加入QQ群 ✨</a></div></div></div><div class="card-widget tzy-right-widget" id="card-wechat"><div id="flip-wrapper"><div id="flip-content"><div class="face"></div><div class="back face"></div></div></div></div><div class="xpand" style="height:200px;"><canvas class="illo" width="800" height="800" style="max-width: 200px; max-height: 200px; touch-action: none; width: 640px; height: 640px;"></canvas></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95"><span class="toc-number">1.</span> <span class="toc-text">更新记录</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%A1%8C%E5%86%85%E6%96%87%E6%9C%AC%E6%A0%B7%E5%BC%8F-text"><span class="toc-number">2.</span> <span class="toc-text">行内文本样式 text</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%A1%8C%E5%86%85%E6%96%87%E6%9C%AC-span"><span class="toc-number">3.</span> <span class="toc-text">行内文本 span</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%AE%B5%E8%90%BD%E6%96%87%E6%9C%AC-p"><span class="toc-number">4.</span> <span class="toc-text">段落文本 p</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BC%95%E7%94%A8-note"><span class="toc-number">5.</span> <span class="toc-text">引用 note</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E4%B8%8A%E6%A0%87%E6%A0%87%E7%AD%BE-tip"><span class="toc-number">6.</span> <span class="toc-text">上标标签 tip</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%8A%A8%E6%80%81%E6%A0%87%E7%AD%BE-anima"><span class="toc-number">7.</span> <span class="toc-text">动态标签 anima</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%A4%8D%E9%80%89%E5%88%97%E8%A1%A8-checkbox"><span class="toc-number">8.</span> <span class="toc-text">复选列表 checkbox</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%8D%95%E9%80%89%E5%88%97%E8%A1%A8-radio"><span class="toc-number">9.</span> <span class="toc-text">单选列表 radio</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%97%B6%E9%97%B4%E8%BD%B4-timeline"><span class="toc-number">10.</span> <span class="toc-text">时间轴 timeline</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E9%93%BE%E6%8E%A5%E5%8D%A1%E7%89%87-link"><span class="toc-number">11.</span> <span class="toc-text">链接卡片 link</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%8C%89%E9%92%AE-btns"><span class="toc-number">12.</span> <span class="toc-text">按钮 btns</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#github%E5%8D%A1%E7%89%87-ghcard"><span class="toc-number">13.</span> <span class="toc-text">github卡片 ghcard</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#github%E5%BE%BD%E6%A0%87-ghbdage"><span class="toc-number">14.</span> <span class="toc-text">github徽标 ghbdage</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E7%BD%91%E7%AB%99%E5%8D%A1%E7%89%87-sites"><span class="toc-number">15.</span> <span class="toc-text">网站卡片 sites</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%A1%8C%E5%86%85%E5%9B%BE%E7%89%87-inlineimage"><span class="toc-number">16.</span> <span class="toc-text">行内图片 inlineimage</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%8D%95%E5%BC%A0%E5%9B%BE%E7%89%87-image"><span class="toc-number">17.</span> <span class="toc-text">单张图片 image</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E9%9F%B3%E9%A2%91-audio"><span class="toc-number">18.</span> <span class="toc-text">音频 audio</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%A7%86%E9%A2%91-video"><span class="toc-number">19.</span> <span class="toc-text">视频 video</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E7%9B%B8%E5%86%8C-gallery"><span class="toc-number">20.</span> <span class="toc-text">相册 gallery</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%8A%98%E5%8F%A0%E6%A1%86-folding"><span class="toc-number">21.</span> <span class="toc-text">折叠框 folding</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%88%86%E6%A0%8F-tab"><span class="toc-number">22.</span> <span class="toc-text">分栏 tab</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%AF%97%E8%AF%8D%E6%A0%87%E7%AD%BE-poem"><span class="toc-number">23.</span> <span class="toc-text">诗词标签 poem</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E9%98%BF%E9%87%8C%E5%9B%BE%E6%A0%87-icon"><span class="toc-number">24.</span> <span class="toc-text">阿里图标 icon</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E7%89%B9%E6%95%88%E6%A0%87%E7%AD%BE-wow"><span class="toc-number">25.</span> <span class="toc-text">特效标签 wow</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/@3.7.1/articles/joy10001/" title="被发现了，这些吊炸天的摸鱼网站！"><img data-lazy-src="https://bu.dusays.com/2023/06/18/648f1359dc90f.png" onerror="this.onerror=null;this.src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="被发现了，这些吊炸天的摸鱼网站！"/></a><div class="content"><a class="title" href="/@3.7.1/articles/joy10001/" title="被发现了，这些吊炸天的摸鱼网站！">被发现了，这些吊炸天的摸鱼网站！</a><time datetime="2023-06-18T16:40:07.000Z" title="发表于 2023-06-19 00:40:07">2023-06-19</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/@3.7.1/articles/vue20002/" title="解决 Vue 中使用 Echarts 出现 There Is a Chart Instance Already Initialized on the Dom 的警告问题"><img data-lazy-src="https://bu.dusays.com/2023/06/18/648ed3f987511.png" onerror="this.onerror=null;this.src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="解决 Vue 中使用 Echarts 出现 There Is a Chart Instance Already Initialized on the Dom 的警告问题"/></a><div class="content"><a class="title" href="/@3.7.1/articles/vue20002/" title="解决 Vue 中使用 Echarts 出现 There Is a Chart Instance Already Initialized on the Dom 的警告问题">解决 Vue 中使用 Echarts 出现 There Is a Chart Instance Already Initialized on the Dom 的警告问题</a><time datetime="2023-06-18T16:20:32.000Z" title="发表于 2023-06-19 00:20:32">2023-06-19</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/@3.7.1/articles/hexo1619/" title="如何新窗口打开导航链接？"><img data-lazy-src="https://bu.dusays.com/2023/06/04/647c9bb365e09.png" onerror="this.onerror=null;this.src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="如何新窗口打开导航链接？"/></a><div class="content"><a class="title" href="/@3.7.1/articles/hexo1619/" title="如何新窗口打开导航链接？">如何新窗口打开导航链接？</a><time datetime="2023-06-04T13:53:07.000Z" title="发表于 2023-06-04 21:53:07">2023-06-04</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/@3.7.1/articles/ts30001/" title="一文读懂TS的(.d.ts)文件"><img data-lazy-src="https://bu.dusays.com/2023/04/29/644d384035bca.png" onerror="this.onerror=null;this.src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="一文读懂TS的(.d.ts)文件"/></a><div class="content"><a class="title" href="/@3.7.1/articles/ts30001/" title="一文读懂TS的(.d.ts)文件">一文读懂TS的(.d.ts)文件</a><time datetime="2023-04-30T14:28:06.000Z" title="发表于 2023-04-30 22:28:06">2023-04-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/@3.7.1/articles/vue20001/" title="Property 'Xxx' Does Not Exist on Type 'AxiosResponse&lt;any, Any&gt;' 的解决办法"><img data-lazy-src="https://bu.dusays.com/2023/04/29/644d249bc9001.png" onerror="this.onerror=null;this.src='https://bu.dusays.com/2022/01/14/82eed74cbb1e0.jpg'" alt="Property 'Xxx' Does Not Exist on Type 'AxiosResponse&lt;any, Any&gt;' 的解决办法"/></a><div class="content"><a class="title" href="/@3.7.1/articles/vue20001/" title="Property 'Xxx' Does Not Exist on Type 'AxiosResponse&lt;any, Any&gt;' 的解决办法">Property 'Xxx' Does Not Exist on Type 'AxiosResponse&lt;any, Any&gt;' 的解决办法</a><time datetime="2023-04-30T12:34:18.000Z" title="发表于 2023-04-30 20:34:18">2023-04-30</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://bu.dusays.com/2021/03/06/835e63215ee7a.jpg')"><div id="footer-wrap"><div id="ft"><div class="ft-item-1"><div class="t-top"><div class="t-t-l"><p class="ft-t t-l-t">公益广告</p><div class="bg-ad"><div>国家反诈中心是国务院打击治理电信网络新型违法犯罪工作部际联席会议合成作战平台，集资源整合、情报研判、侦查指挥为一体，在打击、防范、治理电信网络诈骗等新型违法犯罪中发挥着重要作用。</div><div class="btn-xz-box"><a class="btn-xz" target="_blank" rel="noopener" href="https://www.hack-gov.com.cn/posts/21480.html">下载（国家反诈中心） APP</a></div></div></div><div class="t-t-r"><p class="ft-t t-l-t">修仙导航</p><ul class="ft-links"><li><a target="_blank" rel="noopener" href="https://tzy1997.com/articles/hexo1600/">建站指南</a><a target="_blank" rel="noopener" href="https://tzy1997.com/nav.html">网址导航</a></li><li><a target="_blank" rel="noopener" href="https://tzy1997.com/sponsorWall/">来杯咖啡</a><a target="_blank" rel="noopener" href="https://tzy1997.com/comments/">留点什么</a></li><li><a target="_blank" rel="noopener" href="https://tzy1997.com/about/">关于博主</a><a target="_blank" rel="noopener" href="https://tzy1997.com/archives/">文章归档</a></li><li><a target="_blank" rel="noopener" href="https://tzy1997.com/categories/">文章分类</a><a target="_blank" rel="noopener" href="https://tzy1997.com/tags/">文章标签</a></li><li><a target="_blank" rel="noopener" href="https://tzy1997.com/gallery/">我的相册</a><a target="_blank" rel="noopener" href="https://tzy1997.com/bangumis/">我的追番</a></li><li><a target="_blank" rel="noopener" href="https://tzy1997.com/specialEffects/">一些特效</a><a target="_blank" rel="noopener" href="https://tzy1997.com/wallpaper/">一些壁纸</a></li></ul></div></div></div><div class="ft-item-2"><p class="ft-t">推荐友链</p><div class="ft-img-group"><div class="img-group-item"><a target="_blank" rel="noopener" href="https://tzy1997.com/"><img src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg" alt=""/></a></div><div class="img-group-item"><a target="_blank" rel="noopener" href="https://blog.zhheo.com/"><img src="https://npm.elemecdn.com/guli-heo/img/avatar2.png" alt=""/></a></div><div class="img-group-item"><a target="_blank" rel="noopener" href="https://www.thyuu.com/"><img src="https://npm.elemecdn.com/imgscdn/img/202111191951780.JPG" alt=""/></a></div><div class="img-group-item"><a target="_blank" rel="noopener" href="https://dusays.com/"><img src="https://cdn.dusays.com/avatar.png" alt=""/></a></div><div class="img-group-item"><a target="_blank" rel="noopener" href="https://akilar.top/"><img src="https://npm.elemecdn.com/akilar-candyassets/image/siteicon/favicon.png" alt=""/></a></div><div class="img-group-item"><a target="_blank" rel="noopener" href="https://www.fomal.cc/"><img src="https://bu.dusays.com/2022/11/06/6367af8667f0e.webp" alt=""/></a></div><div class="img-group-item"><a target="_blank" rel="noopener" href="https://www.startly.cn/"><img src="https://bu.dusays.com/2023/04/15/643a99cb740a4.jpg" alt=""/></a></div><div class="img-group-item"><a href="javascript:btf.snackbarShow(&quot;预留友链位~~&quot;)"><img src="https://bu.dusays.com/2022/05/02/626f92e193879.jpg" alt=""/></a></div></div></div></div><div class="copyright">&copy;2020 - 2023  <i id="heartbeat" class="fa fas fa-heartbeat"></i> Ethan.Tzy</div><div class="footer_custom_text">I wish you to become your own sun, no need to rely on who's light.✨✨✨<p><a target="_blank" href="https://hexo.io/"><img src="https://img.shields.io/badge/Frame-Hexo-blue?style=flat&logo=hexo" title="博客框架为Hexo"></a>&nbsp;<a target="_blank" href="https://butterfly.js.org/"><img src="https://img.shields.io/badge/Theme-Butterfly-6513df?style=flat&logo=bitdefender" title="主题采用butterfly"></a>&nbsp;<a target="_blank" href="https://www.jsdelivr.com/"><img src="https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr" title="本站使用JsDelivr为静态资源提供CDN加速"></a> &nbsp;<a target="_blank" href="https://vercel.com/ "><img src="https://img.shields.io/badge/Hosted-Vervel-brightgreen?style=flat&logo=Vercel" title="本站采用双线部署，默认线路托管于Vercel"></a>&nbsp;<a target="_blank" href="https://icp.gov.moe/?keyword=20220686" title="本站已加入萌ICP豪华套餐，萌ICP备20220686号"><img src="https://img.shields.io/badge/%E8%90%8CICP%E5%A4%87-20220686-fe1384?style-flat&amp;logo="></a>&nbsp;<a target="_blank" href="https://vercel.com/"><img src="https://img.shields.io/badge/Hosted-Coding-0cedbe?style=flat&logo=Codio" title="本站采用双线部署，联通线路托管于Coding"></a>&nbsp;<a target="_blank" href="https://github.com/"><img src="https://img.shields.io/badge/Source-Github-d021d6?style=flat&logo=GitHub" title="本站项目由Gtihub托管"></a>&nbsp;<a target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?style=flat&logo=Claris" title="本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可"></a></p></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="font-plus" type="button" title="放大字体"><i class="fas fa-plus"></i></button><button id="font-minus" type="button" title="缩小字体"><i class="fas fa-minus"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="chat_btn" type="button" title="在线聊天"><i class="fas fa-sms"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="algolia-search"><div class="search-dialog"><div class="search-dialog__title" id="algolia-search-title">Algolia</div><div id="algolia-input-panel"><div id="algolia-search-input"></div></div><hr/><div id="algolia-search-results"><div id="algolia-hits"></div><div id="algolia-pagination"></div><div id="algolia-stats"></div></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div></div><div id="rightMenu"><div class="rightMenu-group rightMenu-small"><div class="rightMenu-item" id="menu-backward"><i class="fa-solid fa-arrow-left"></i></div><div class="rightMenu-item" id="menu-forward"><i class="fa-solid fa-arrow-right"></i></div><div class="rightMenu-item" id="menu-refresh"><i class="fa-solid fa-arrow-rotate-right"></i></div><div class="rightMenu-item" id="menu-home"><i class="fa-solid fa-house"></i></div></div><div class="rightMenu-group rightMenu-line rightMenuPlugin"><div class="rightMenu-item" id="menu-copytext"><i class="fa-solid fa-copy"></i><span>复制文本</span></div><div class="rightMenu-item" id="menu-newwindow"><i class="fa-solid fa-window-restore"></i><span>新窗口打开</span></div><div class="rightMenu-item" id="menu-copylink"><i class="fa-solid fa-copy"></i><span>复制链接地址</span></div><div class="rightMenu-item" id="menu-copyimg"><i class="fa-solid fa-copy"></i><span>复制图片</span></div><div class="rightMenu-item" id="menu-downloadimg"><i class="fa-solid fa-download"></i><span>下载图片</span></div><div class="rightMenu-item" id="menu-search"><i class="fa-solid fa-magnifying-glass"></i><span>站内搜索</span></div><div class="rightMenu-item" id="menu-searchBaidu"><i class="fa-solid fa-magnifying-glass"></i><span>百度搜索</span></div></div><div class="rightMenu-group rightMenu-line rightMenuOther"><div class="rightMenu-item" id="menu-radompage"><i class="fa-solid fa-shoe-prints"></i><span>随便逛逛</span></div><a class="rightMenu-item menu-link" href="/archives/"><i class="fa-solid fa-archive"></i><span>文章归档</span></a><a class="rightMenu-item menu-link" href="/categories/"><i class="fa-solid fa-folder-open"></i><span>文章分类</span></a><a class="rightMenu-item menu-link" href="/tags/"><i class="fa-solid fa-tags"></i><span>文章标签</span></a><a class="rightMenu-item" id="menu-goto-comment" href="#post-comment"><i class="fas fa-comment"></i><span>空降评论</span></a><a class="rightMenu-item menu-link" href="/sponsorWall/"><i class="fa-solid fa-money-check-alt"></i><span>赞助墙</span></a></div><div class="rightMenu-group rightMenu-line rightMenuNormal"><div class="rightMenu-item" id="menu-translate"><i class="fa-solid fa-earth-asia"></i><span>繁简切换</span></div><div class="rightMenu-item" id="menu-readmode"><i class="fa-solid fa-book-open"></i><span>阅读模式</span></div><div class="rightMenu-item" id="menu-print"><i class="fa-solid fa-print fa-fw"></i><span>打印页面</span></div><div class="rightMenu-item" id="menu-copy"><i class="fa-solid fa-share"></i><span>分享本页</span></div></div></div><div id="rightmenu-mask"></div><div id="myscoll"></div><div><script src="https://npm.elemecdn.com/jquery@latest/dist/jquery.min.js"></script><script src="/@3.7.1/"></script><script src="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/js/utils.js"></script><script src="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/js/main.js"></script><script src="https://npm.elemecdn.com/ethan4116-blog/lib/js/theme/tw_cn.js"></script><script src="https://npm.elemecdn.com/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/node-snackbar/0.1.16/snackbar.min.js"></script><script src="https://npm.elemecdn.com/ethan4116-blog/lib/js/theme/search/algolia.js"></script><script async="async">var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())
setTimeout(function(){preloader.endLoading();}, 5000);</script><div class="js-pjax"><script>(()=>{
  const $countDom = document.getElementById('twikoo-count')
  const init = () => {
    twikoo.init(Object.assign({
      el: '#twikoo-wrap',
      envId: 'https://twikoo.fe32.top/',
      region: '',
      onCommentLoaded: function () {
        //- const ele = document.querySelectorAll('#twikoo .tk-content img:not(.tk-owo-emotion)')
      }
    }, null))
  }

  const getCount = () => {
    twikoo.getCommentsCount({
      envId: 'https://twikoo.fe32.top/',
      region: '',
      urls: [window.location.pathname],
      includeReply: false
    }).then(function (res) {
      $countDom.innerText = res[0].count
    }).catch(function (err) {
      console.error(err);
    });
  }

  const loadTwikoo = (bool = false) => {
    if (typeof twikoo === 'object') {
      init()
      bool && $countDom && setTimeout(getCount,0)
    } else {
      getScript('https://fastly.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js').then(()=> {
        init()
        bool && $countDom && setTimeout(getCount,0)
      })
    }
  }

  if ('Twikoo' === 'Twikoo' || !true) {
    if (true) btf.loadComment(document.getElementById('twikoo-wrap'), loadTwikoo)
    else loadTwikoo(true)
  } else {
    window.loadOtherComment = () => {
      loadTwikoo()
    }
  }
})()</script></div><script>window.addEventListener('load', () => {
  const changeContent = (content) => {
    if (content === '') return content

    content = content.replace(/<img.*?src="(.*?)"?[^\>]+>/ig, '[图片]') // replace image link
    content = content.replace(/<a[^>]+?href=["']?([^"']+)["']?[^>]*>([^<]+)<\/a>/gi, '[链接]') // replace url
    content = content.replace(/<pre><code>.*?<\/pre>/gi, '[代码]') // replace code
    content = content.replace(/<[^>]+>/g,"") // remove html tag

    if (content.length > 150) {
      content = content.substring(0,150) + '...'
    }
    return content
  }

  const getComment = () => {
    const runTwikoo = () => {
      twikoo.getRecentComments({
        envId: 'https://twikoo.fe32.top/',
        region: '',
        pageSize: 6,
        includeReply: true
      }).then(function (res) {
        const twikooArray = res.map(e => {
          return {
            'content': changeContent(e.comment),
            'avatar': e.avatar,
            'nick': e.nick,
            'url': e.url + '#' + e.id,
            'date': new Date(e.created).toISOString()
          }
        })

        saveToLocal.set('twikoo-newest-comments', JSON.stringify(twikooArray), 10/(60*24))
        generateHtml(twikooArray)
      }).catch(function (err) {
        const $dom = document.querySelector('#card-newest-comments .aside-list')
        $dom.innerHTML= "无法获取评论，请确认相关配置是否正确"
      })
    }

    if (typeof twikoo === 'object') {
      runTwikoo()
    } else {
      getScript('https://fastly.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js').then(runTwikoo)
    }
  }

  const generateHtml = array => {
    let result = ''

    if (array.length) {
      for (let i = 0; i < array.length; i++) {
        result += '<div class=\'aside-list-item\'>'

        if (true) {
          const name = 'data-lazy-src'
          result += `<a href='${array[i].url}' class='thumbnail'><img ${name}='${array[i].avatar}' alt='${array[i].nick}'></a>`
        }
        
        result += `<div class='content'>
        <a class='comment' href='${array[i].url}'>${array[i].content}</a>
        <div class='name'><span>${array[i].nick} / </span><time datetime="${array[i].date}">${btf.diffDate(array[i].date, true)}</time></div>
        </div></div>`
      }
    } else {
      result += '没有评论'
    }

    let $dom = document.querySelector('#card-newest-comments .aside-list')
    $dom.innerHTML= result
    window.lazyLoadInstance && window.lazyLoadInstance.update()
    window.pjax && window.pjax.refresh($dom)
  }

  const newestCommentInit = () => {
    if (document.querySelector('#card-newest-comments .aside-list')) {
      const data = saveToLocal.get('twikoo-newest-comments')
      if (data) {
        generateHtml(JSON.parse(data))
      } else {
        getComment()
      }
    }
  }

  newestCommentInit()
  document.addEventListener('pjax:complete', newestCommentInit)
})</script><div class="pjax-reload"><script async="async">var arr = document.getElementsByClassName('recent-post-item');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__zoomIn');
    arr[i].setAttribute('data-wow-duration', '1s');
    arr[i].setAttribute('data-wow-delay', '1s');
    arr[i].setAttribute('data-wow-offset', '100');
    arr[i].setAttribute('data-wow-iteration', '1');
  }</script><script async="async">var arr = document.getElementsByClassName('card-widget');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__zoomIn');
    arr[i].setAttribute('data-wow-duration', '');
    arr[i].setAttribute('data-wow-delay', '');
    arr[i].setAttribute('data-wow-offset', '');
    arr[i].setAttribute('data-wow-iteration', '');
  }</script><script async="async">var arr = document.getElementsByClassName('site-card');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__flipInY');
    arr[i].setAttribute('data-wow-duration', '3s');
    arr[i].setAttribute('data-wow-delay', '100ms');
    arr[i].setAttribute('data-wow-offset', '');
    arr[i].setAttribute('data-wow-iteration', '');
  }</script><script async="async">var arr = document.getElementsByClassName('github-badge');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__flipInX');
    arr[i].setAttribute('data-wow-duration', '3s');
    arr[i].setAttribute('data-wow-delay', '100ms');
    arr[i].setAttribute('data-wow-offset', '');
    arr[i].setAttribute('data-wow-iteration', '');
  }</script></div><script defer="defer" src="https://npm.elemecdn.com/ethan4116-blog/lib/js/theme/wow.min.js"></script><script defer="defer" src="https://npm.elemecdn.com/ethan4116-blog/lib/js/theme/wow_init.js"></script><div class="aplayer no-destroy" data-id="7427714271" data-server="netease" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-lrctype="1" data-preload="none" data-autoplay="true" muted></div><script defer src="https://npm.elemecdn.com/jquery@latest/dist/jquery.min.js"></script><script defer data-pjax src="https://npm.elemecdn.com/ethan4116-blog/lib/js/other/cat.js"></script><script defer src="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/js/issues.js"></script><script defer data-pjax src="https://npm.elemecdn.com/ethan4116-blog/lib/js/other/two-people/twopeople1.js"></script><script defer data-pjax src="https://npm.elemecdn.com/ethan4116-blog/lib/js/other/two-people/zdog.dist.js"></script><script defer data-pjax src="https://npm.elemecdn.com/ethan4116-blog/lib/js/other/two-people/twopeople.js"></script><canvas id="universe"></canvas><script defer src="https://npm.elemecdn.com/ethan4116-blog/lib/js/theme/universe.js"></script><script defer src="https://npm.elemecdn.com/ethan4116-blog/lib/@3.7.1/js/ethan_tzy.js"></script><script defer src="https://npm.elemecdn.com/ethan4116-blog/lib/right-menu/rightMenu@3.7.1.js"></script><script async src="//at.alicdn.com/t/font_2315348_g8vs01iykv.js"></script><script async src="https://www.googletagmanager.com/gtag/js?id=G-92YZLM7C2B"></script><script> window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-92YZLM7C2B');</script><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9697737937582017" crossorigin="anonymous"></script><script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?bbcbaf179f87d03d28c3ba72c79a5640";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script><script>!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"Jo9JJAc5cBaxwwnJ",ck:"Jo9JJAc5cBaxwwnJ"});</script><script src="https://npm.elemecdn.com/butterfly-extsrc@1/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true;
POWERMODE.shake = false;
POWERMODE.mobile = false;
document.body.addEventListener('input', POWERMODE);
</script><script id="click-heart" src="https://npm.elemecdn.com/butterfly-extsrc@1/dist/click-heart.min.js" async="async" mobile="false"></script><script>window.$crisp = [];
window.CRISP_WEBSITE_ID = "58b8ce9e-19e0-46ff-8e8d-6ee1b1b25c45";
(function () {
  d = document;
  s = d.createElement("script");
  s.src = "https://client.crisp.chat/l.js";
  s.async = 1;
  d.getElementsByTagName("head")[0].appendChild(s);
})();
$crisp.push(["safe", true])

if (true) {
  $crisp.push(["do", "chat:hide"])
  $crisp.push(["on", "chat:closed", function() {
    $crisp.push(["do", "chat:hide"])
  }])
  var chatBtnFn = () => {
    var chatBtn = document.getElementById("chat_btn")
    chatBtn.addEventListener("click", function(){
      $crisp.push(["do", "chat:show"])
      $crisp.push(["do", "chat:open"])

    });
  }
  chatBtnFn()
} else {
  if (false) {
    function chatBtnHide () {
      $crisp.push(["do", "chat:hide"])
    }
    function chatBtnShow () {
      $crisp.push(["do", "chat:show"])
    }
  }
}</script><link rel="stylesheet" href="https://npm.elemecdn.com/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://npm.elemecdn.com/aplayer/dist/APlayer.min.js"></script><script src="https://npm.elemecdn.com/ethan4116-blog/lib/js/theme/meting.min.js"></script><script src="https://npm.elemecdn.com/pjax/pjax.min.js"></script><script>let pjaxSelectors = [
  'title',
  '#config-diff',
  '#body-wrap',
  '#rightside-config-hide',
  '#rightside-config-show',
  '.js-pjax'
]

if (false) {
  pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}

var pjax = new Pjax({
  elements: 'a:not([target="_blank"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: false,
  scrollRestoration: false
})

document.addEventListener('pjax:send', function () {

  // removeEventListener toc scroll 
  window.removeEventListener('scroll', window.tocScrollFn)

  typeof preloader === 'object' && preloader.initLoading()

  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  //reset readmode
  const $bodyClassList = document.body.classList
  $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  //- document.querySelectorAll('script[data-pjax]').forEach(item => {
  
  document.querySelectorAll('script[data-pjax], .pjax-reload script').forEach(item => {
    const newScript = document.createElement('script')
    const content = item.text || item.textContent || item.innerHTML || ""
    Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
    newScript.appendChild(document.createTextNode(content))
    item.parentNode.replaceChild(newScript, item)
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  // google analytics
  typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});

  // baidu analytics
  typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // Analytics
  if (false) {
    MtaH5.pgv()
  }

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})


//- document.addEventListener('pjax:send', function () {
//-   typeof preloader === 'object' && preloader.initLoading()
  
//-   if (window.aplayers) {
//-     for (let i = 0; i < window.aplayers.length; i++) {
//-       if (!window.aplayers[i].options.fixed) {
//-         window.aplayers[i].destroy()
//-       }
//-     }
//-   }

//-   typeof typed === 'object' && typed.destroy()

//-   //reset readmode
//-   const $bodyClassList = document.body.classList
//-   $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

//- })

document.addEventListener('pjax:error', (e) => {
  if (e.request.status === 404) {
    if (false) {
      location.hash && e.request.responseURL !== location.href ? pjax.loadUrl(location.href) : pjax.loadUrl('/404.html')
      return
    }
    pjax.loadUrl('/404.html')
  }
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>